diff options
Diffstat (limited to 'extranodes/lox.lua')
-rw-r--r-- | extranodes/lox.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extranodes/lox.lua b/extranodes/lox.lua index 3aaadee..ed98a9a 100644 --- a/extranodes/lox.lua +++ b/extranodes/lox.lua @@ -115,9 +115,10 @@ minetest.register_node(":technic:fbomb", { }, groups = {dig_immediate = 2, falling_node = 1}, sounds = default.node_sound_defaults(), + drop = "technic:fbomb", on_punch = function(pos, node, player, pointed_thing) minetest.remove_node(pos) - minetest.place_node(pos, {name="technic:fbombact"}) + minetest.set_node(pos, {name="technic:fbombact"}) local nm = minetest.get_meta(pos) nm:set_string("player", player:get_player_name()) end |