forked from mtcontrib/homedecor_modpack
Merge branch 'crabman77-fix_spear'
This commit is contained in:
commit
78114b83cf
@ -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