From 0df5e40e8941fb94f46eec0cf2d231839e681ce6 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 3 Jun 2017 02:21:42 +0200 Subject: [PATCH] Fix broken inventory menu after join --- mods/HUD/mcl_inventory/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 1c4931dfea..d57764b9ca 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -150,7 +150,7 @@ minetest.register_on_joinplayer(function(player) end -- In Creative Mode, the initial inventory setup is handled in creative.lua - if not minetest.setting_get("creative_mode") then + if not minetest.setting_getbool("creative_mode") then set_inventory(player) end