diff options
Diffstat (limited to 'mesecons_commandblock/init.lua')
-rw-r--r-- | mesecons_commandblock/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua index dc29f4e..af7034d 100644 --- a/mesecons_commandblock/init.lua +++ b/mesecons_commandblock/init.lua @@ -92,6 +92,9 @@ local after_place = function(pos, placer) end
local receive_fields = function(pos, formname, fields, sender)
+ if fields.quit then
+ return
+ end
local meta = minetest.get_meta(pos)
if fields.nearest then
initialize_data(meta, "@nearest", fields.command, fields.param)
|