---
init.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init.lua b/init.lua
index 94cdfb3..d2d526c 100644
--- a/init.lua
+++ b/init.lua
@@ -53,7 +53,7 @@ function banish.xunbanish(name, param)
minetest.chat_send_player(name, "banish: invalid syntax")
return
end
- if not banish.spawn[plname] then
+ if not xban.get_property(plname, "jailed") then
minetest.chat_send_player(name,"Player "..plname.." was never jailed")
return
end
--
2.39.2