mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-13 12:07:30 +01:00
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()
|
||||
return itemstack
|
||||
end,
|
||||
-- Prevent accidental interaction with itemframes and other nodes
|
||||
on_place = function(itemstack)
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user