forked from VoxeLibre/VoxeLibre
Enable crossbows to dig
This commit is contained in:
parent
a331fb5f3c
commit
1604002afb
|
@ -112,7 +112,7 @@ S("The speed and damage of the arrow increases the longer you charge. The regula
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
range = 4,
|
range = 4,
|
||||||
-- Trick to disable digging as well
|
-- Trick to disable digging as well
|
||||||
on_use = function() return end,
|
--on_use = function() return end,
|
||||||
on_place = function(itemstack, player, pointed_thing)
|
on_place = function(itemstack, player, pointed_thing)
|
||||||
if pointed_thing and pointed_thing.type == "node" then
|
if pointed_thing and pointed_thing.type == "node" then
|
||||||
-- Call on_rightclick if the pointed node defines it
|
-- Call on_rightclick if the pointed node defines it
|
||||||
|
|
Loading…
Reference in New Issue