From 0aa1bb3a8225fcbbed95ba1b99520af849d9666c Mon Sep 17 00:00:00 2001 From: obneq Date: Wed, 7 Aug 2013 17:11:33 +0200 Subject: [PATCH] Update init.lua this prevents pushing buttons in creative from running other mods field func --- mods/creative/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/creative/init.lua b/mods/creative/init.lua index 45b7a220..22032149 100644 --- a/mods/creative/init.lua +++ b/mods/creative/init.lua @@ -119,6 +119,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) end creative_inventory.set_creative_formspec(player, start_i, start_i / (6*4) + 1) + return true end) if minetest.setting_getbool("creative_mode") then