diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-09-06 23:00:04 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-09-06 23:00:04 +0300 |
commit | 0035fc451a93b3f17200ba1bd8ae07cc5560b436 (patch) | |
tree | 309b19ed13313ffbd31c42784788ac7adaaa5c66 /extranodes/lox.lua | |
parent | a5cfbfdb4989786aacdb24002c9c2bbeb97d028b (diff) |
fbomb fix?
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 |