diff --git a/mods/HUD/mcl_inventory/creative.lua b/mods/HUD/mcl_inventory/creative.lua index 248737c4f1..a52885fe1d 100644 --- a/mods/HUD/mcl_inventory/creative.lua +++ b/mods/HUD/mcl_inventory/creative.lua @@ -226,15 +226,14 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz -- Show armor and player image local show_armor = minetest.get_modpath("3d_armor") - -- TODO: Use player.png to allow for custom skins - local img = "crafting_player2d.png" + local img = "player.png" 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 local s1 = img:find("character_preview") if s1 ~= nil then s1 = img:sub(s1+21) - img = "crafting_player2d.png"..s1 + img = "player.png"..s1 end player_preview = "image[3.9,1.4;1.2333,2.4666;"..img.."]" end diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index d06462e774..fcecc0c8f7 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -49,15 +49,14 @@ local function set_inventory(player, armor_change_only) local player_name = player:get_player_name() -- Show armor and player image - -- TODO: Use player.png to allow for custom skins - local img = "crafting_player2d.png" + local img = "player.png" 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 local s1 = img:find("character_preview") if s1 ~= nil then s1 = img:sub(s1+21) - img = "crafting_player2d.png"..s1 + img = "player.png"..s1 end player_preview = "image[1.1,0.2;2,4;"..img.."]" end diff --git a/mods/HUD/mcl_inventory/textures/crafting_player2d.png b/mods/HUD/mcl_inventory/textures/crafting_player2d.png deleted file mode 100644 index 176588a3dd..0000000000 Binary files a/mods/HUD/mcl_inventory/textures/crafting_player2d.png and /dev/null differ