~gpcf/misc-patches

[PATCH 2/2] Check for jail status properly

Details
Message ID
<OS3P286MB197983E2E03046F59ECD3BD0DB29A@OS3P286MB1979.JPNP286.PROD.OUTLOOK.COM>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 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
Reply to thread Export thread (mbox)