forked from nalc/homedecor_modpack
Fix spears visuel bug issue nalc/nalc-server-mods#103
This commit is contained in:
parent
3b98245930
commit
6cd70d2759
@ -94,6 +94,10 @@ local update_item = function(pos, node)
|
|||||||
pos.z = pos.z + posad.z * 6.5 / 16
|
pos.z = pos.z + posad.z * 6.5 / 16
|
||||||
elseif node.name == "itemframes:pedestal" then
|
elseif node.name == "itemframes:pedestal" then
|
||||||
pos.y = pos.y + 12 / 16 + 0.33
|
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
|
end
|
||||||
tmp.nodename = node.name
|
tmp.nodename = node.name
|
||||||
tmp.texture = ItemStack(meta:get_string("item")):get_name()
|
tmp.texture = ItemStack(meta:get_string("item")):get_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user