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 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 3bb837e123e8e122ea5bae3e49976023f73c61f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1557 zcmeAS@N?(olHy`uVBq!ia0y~yVEVwoz$nAP#=yX^@I-?g0|NtNage(c!@6@aFBupZ zSkfJR9T^xl_H+M9WMyDr;4JWnEM{Qf76f6&`jq&I3=9ksC9V-A!TD(=<%vb93~dIoxyImUH<3=FJoo-U3d6>)D*81f!)5MbH(-2azT0;7+Lc;26Pd<+af zI%hI4I9&E&U|5i;#=vmFM3{jgV-_a^gUMMI28LN_ObiUZ#*7RN%SM%r2FPd%8O;l$ ig#*c@WkAV$=2KnWA