forked from VoxeLibre/VoxeLibre
Fix charged bows being placable in itemframes
This commit is contained in:
parent
62ed722088
commit
39e34b8f4e
|
@ -151,6 +151,10 @@ for level=0, 2 do
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
|
-- Prevent accidental interaction with itemframes and other nodes
|
||||||
|
on_place = function(itemstack)
|
||||||
|
return itemstack
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue