diff options
-rw-r--r-- | mesecons_commandblock/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua index d163d5c..8fd23f6 100644 --- a/mesecons_commandblock/init.lua +++ b/mesecons_commandblock/init.lua @@ -79,7 +79,7 @@ local function after_place(pos, placer) end
local function receive_fields(pos, formname, fields, sender)
- if fields.quit then
+ if not fields.submit then
return
end
local meta = minetest.get_meta(pos)
|