Skip to content
Browse files
Add protection to TNT (by @tenplus1)
  • Loading branch information
BlockMen committed Jul 13, 2014
1 parent c993e14 commit 3180bdfe6ce40a6f155329078884e797c310b8f1
Showing 1 changed file with 5 additions and 1 deletion.
@@ -37,7 +37,11 @@ local add_drop = function(drops, pos, item)

local destroy = function(drops, pos, last, fast)
local function destroy(drops, pos, last, fast)
if minetest.is_protected(pos, "") then

local nodename = minetest.get_node(pos).name
if nodename ~= "air" then
minetest.remove_node(pos, (fast and 1 or 0))

1 comment on commit 3180bdf

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks dude, I just realised you changed this after re-submitting both fixes for boats and tnt into the minetest_game area...

Please sign in to comment.