Change armor slot images to Faithful 1.12
This commit is contained in:
parent
5f36c13c92
commit
45257ace7e
11 changed files with 6 additions and 6 deletions
|
@ -66,11 +66,11 @@ local function set_inventory(player, armor_change_only)
|
|||
player_preview = "image[1.1,0.2;2,4;"..img.."]"
|
||||
end
|
||||
|
||||
local armor_slots = {"head", "torso", "legs", "feet"}
|
||||
local armor_slots = {"helmet", "chestplate", "leggings", "boots"}
|
||||
local armor_slot_imgs = ""
|
||||
for a=1,4 do
|
||||
if inv:get_stack("armor", a+1):is_empty() then
|
||||
armor_slot_imgs = armor_slot_imgs .. "image[0,"..(a-1)..";1,1;crafting_slot_"..armor_slots[a]..".png]"
|
||||
armor_slot_imgs = armor_slot_imgs .. "image[0,"..(a-1)..";1,1;mcl_inventory_empty_armor_slot_"..armor_slots[a]..".png]"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue