From 9f01a4993bcffa0455c712941dd64be2995fffdd Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 9 Mar 2017 18:51:01 +0100 Subject: [PATCH] Fix possible conflicts with inventory callbacks --- mods/HUD/mcl_inventory/creative.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index 8ab1fd5e9b..ac651dbd62 100644 --- a/mods/HUD/mcl_inventory/creative.lua +++ b/mods/HUD/mcl_inventory/creative.lua @@ -353,6 +353,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) if not minetest.setting_getbool("creative_mode") then return end + if formname ~= "" then + return + end local name = player:get_player_name()