From e87a1dc44a5a76792fcb64a5ba079d15ca32cb0d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 9 Jun 2017 23:28:37 +0200 Subject: [PATCH] Remove unused mcl_inventory code --- mods/HUD/mcl_inventory/init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 455436671..c0573ab38 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -32,10 +32,6 @@ local function drop_fields(player, name) end end -local function update_armor(player) - return -end - local function set_inventory(player, armor_change_only) if minetest.setting_getbool("creative_mode") then if armor_change_only then @@ -139,7 +135,6 @@ minetest.register_on_joinplayer(function(player) local update_inventory_original = armor.update_inventory armor.set_player_armor = function(self, player) set_player_armor_original(self, player) - update_armor(player) end armor.update_inventory = function(self, player) update_inventory_original(self, player)