From 4c1bf8d978c86ba72ade20ac23c8ef696c6d2c59 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 8 Jul 2017 16:40:09 +0200 Subject: [PATCH] Remove empty crafting_inventory.png --- mods/HUD/mcl_inventory/creative.lua | 1 - mods/HUD/mcl_inventory/init.lua | 3 +-- .../textures/crafting_inventory.png | Bin 1557 -> 0 bytes 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 mods/HUD/mcl_inventory/textures/crafting_inventory.png diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index bd1f1b85b7..248737c4f1 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 0b7149104d..417ca0dd5e 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 3bb837e123e8e122ea5bae3e49976023f73c61f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1557 zcmeAS@N?(olHy`uVBq!ia0y~yVEVwoz$nAP1{7I%qCpNwF%}28J29*~C-V}>VM%xN zb!1@J*w6hZkrl}2EbxddW?0#LT=By}Z;C z1rt33JG+w$<0Y<%wj%PE1;M@2mE&pSQ_h98|X85kTc z`!Fyp$W&usxL_j8z>qPElYznHEDHm}tTZMD247=FhK6OM%0>fZG=+@jh0(%+=$gMYsPOKk>ES3j3^P6