Swap armor on right click

This commit is contained in:
cora 2024-03-27 03:58:11 +01:00
parent b02d247a8b
commit cfa8911152
No known key found for this signature in database

View File

@ -82,7 +82,7 @@ function mcl_armor.equip_on_use(itemstack, player, pointed_thing)
return new_stack
end
return mcl_armor.equip(itemstack, player)
return mcl_armor.equip(itemstack, player, true)
end
local function get_armor_texture(textures, name, modname, itemname, itemstring)