From c0b9abb0341e8e24ab2b03cbb89fa2eb17e8d6aa Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 15 Jul 2018 13:44:58 +0200 Subject: [PATCH] works with newer versions of mt again --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 9f17f83..b4c6f61 100644 --- a/init.lua +++ b/init.lua @@ -78,7 +78,7 @@ end chesttools.on_receive_fields = function(pos, formname, fields, player) - if( fields.quit ) then + if( fields.quit and fields.quit ~= "") then return; end