diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index bd1f1b85b..248737c4f 100644 --- a/mods/HUD/mcl_inventory/creative.lua +++ b/mods/HUD/mcl_inventory/creative.lua @@ -228,7 +228,6 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz local show_armor = minetest.get_modpath("3d_armor") -- TODO: Use player.png to allow for custom skins local img = "crafting_player2d.png" - local armor_img = "" local player_preview = "image[3.9,1.4;1.2333,2.4666;"..img.."]" if show_armor and armor.textures[playername] and armor.textures[playername].preview then img = armor.textures[playername].preview diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 0b7149104..417ca0dd5 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -51,7 +51,6 @@ local function set_inventory(player, armor_change_only) -- Show armor and player image -- TODO: Use player.png to allow for custom skins local img = "crafting_player2d.png" - local armor_img = "" local player_preview = "image[0.6,0.2;2,4;"..img.."]" if show_armor and armor.textures[player_name] and armor.textures[player_name].preview then img = armor.textures[player_name].preview @@ -72,7 +71,7 @@ local function set_inventory(player, armor_change_only) end local form = "size[9,8.75]".. - "background[-0.19,-0.25;9.41,9.49;crafting_formspec_bg.png^crafting_inventory.png"..armor_img.."]".. + "background[-0.19,-0.25;9.41,9.49;crafting_formspec_bg.png]".. mcl_vars.inventory_header.. player_preview.. --armor diff --git a/mods/HUD/mcl_inventory/textures/crafting_inventory.png b/mods/HUD/mcl_inventory/textures/crafting_inventory.png deleted file mode 100644 index 3bb837e12..000000000 Binary files a/mods/HUD/mcl_inventory/textures/crafting_inventory.png and /dev/null differ