From 5e0b4d749f670747c2f229885250bf9f6d490e67 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 3 Jun 2017 00:51:28 +0200 Subject: [PATCH] Fix armor tab not updating in Creative --- mods/HUD/mcl_inventory/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 772a75b07..a61341796 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -163,9 +163,10 @@ minetest.register_on_joinplayer(function(player) end armor.update_inventory = function(self, player) update_inventory_original(self, player) + set_inventory(player, true) end armor:set_player_armor(player) - armor:update_inventory(player) + update_inventory_original(self, player) end -- In Creative Mode, the initial inventory setup is handled in creative.lua