Merge branch 'crabman77-fix_spear'

This commit is contained in:
bri cassa 2022-08-20 20:35:14 +02:00
commit 78114b83cf
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ local update_item = function(pos, node)
pos.z = pos.z + posad.z * 6.5 / 16
elseif node.name == "itemframes:pedestal" then
pos.y = pos.y + 12 / 16 + 0.33
local n = meta:get_string("item")
if string.match(n, "spears:spear_") then
pos.y = pos.y + 0.2
end
end
tmp.nodename = node.name
tmp.texture = ItemStack(meta:get_string("item")):get_name()