Prevent constructing arrow boxes
This commit is contained in:
parent
1aac4713a4
commit
67f33c9256
2 changed files with 22 additions and 4 deletions
|
@ -67,6 +67,12 @@ minetest.register_node("mcl_bows:arrow_box", {
|
|||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
groups = {not_in_creative_inventory=1, dig_immediate=3},
|
||||
drop = "",
|
||||
node_placement_prediction = "",
|
||||
on_construct = function(pos)
|
||||
minetest.log("error", "[mcl_bows] Trying to construct mcl_bows:arrow_box at "..minetest.pos_to_string(pos))
|
||||
minetest.remove_node(pos)
|
||||
end,
|
||||
})
|
||||
|
||||
local ARROW_ENTITY={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue