Remove empty crafting_inventory.png

This commit is contained in:
Wuzzy 2017-07-08 16:40:09 +02:00
parent 9540ec249d
commit 4c1bf8d978
3 changed files with 1 additions and 3 deletions

View file

@ -228,7 +228,6 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz
local show_armor = minetest.get_modpath("3d_armor") local show_armor = minetest.get_modpath("3d_armor")
-- TODO: Use player.png to allow for custom skins -- TODO: Use player.png to allow for custom skins
local img = "crafting_player2d.png" local img = "crafting_player2d.png"
local armor_img = ""
local player_preview = "image[3.9,1.4;1.2333,2.4666;"..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 if show_armor and armor.textures[playername] and armor.textures[playername].preview then
img = armor.textures[playername].preview img = armor.textures[playername].preview

View file

@ -51,7 +51,6 @@ local function set_inventory(player, armor_change_only)
-- Show armor and player image -- Show armor and player image
-- TODO: Use player.png to allow for custom skins -- TODO: Use player.png to allow for custom skins
local img = "crafting_player2d.png" local img = "crafting_player2d.png"
local armor_img = ""
local player_preview = "image[0.6,0.2;2,4;"..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 if show_armor and armor.textures[player_name] and armor.textures[player_name].preview then
img = armor.textures[player_name].preview img = armor.textures[player_name].preview
@ -72,7 +71,7 @@ local function set_inventory(player, armor_change_only)
end end
local form = "size[9,8.75]".. 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.. mcl_vars.inventory_header..
player_preview.. player_preview..
--armor --armor

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB