From 0035fc451a93b3f17200ba1bd8ae07cc5560b436 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Thu, 6 Sep 2018 23:00:04 +0300 Subject: fbomb fix? --- extranodes/lox.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extranodes/lox.lua') 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 -- cgit v1.2.3