Skip to content

Commit

Permalink
Make gunpoweder an attached_node
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed May 20, 2013
1 parent e12ae27 commit d6a0b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ minetest.register_node("tnt:gunpowder", {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
groups = {dig_immediate=2},
groups = {dig_immediate=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(),

on_punch = function(pos, node, puncher)
Expand All @@ -230,7 +230,7 @@ minetest.register_node("tnt:gunpowder_burning", {
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
drop = "",
groups = {dig_immediate=2},
groups = {dig_immediate=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
})

Expand Down

0 comments on commit d6a0b7d

Please sign in to comment.