mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Fix charged bows being placable in itemframes
This commit is contained in:
parent
62ed722088
commit
39e34b8f4e
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue