Doors: Fix trapdoor on_blast
authorThomas--S <Thomas--S@users.noreply.github.com>
Sun, 17 Jul 2016 18:37:29 +0000 (20:37 +0200)
committerparamat <mat.gregory@virginmedia.com>
Mon, 18 Jul 2016 22:45:48 +0000 (23:45 +0100)
Removing the node above was an error and is unnecessary

mods/doors/init.lua

index 914e385f37409b8b505651cf04c96fde677e2c4f..abd24bde58979feab377f10a0527a9fa848ab91b 100644 (file)
@@ -576,7 +576,6 @@ function doors.register_trapdoor(name, def)
        else
                def.on_blast = function(pos, intensity)
                        minetest.remove_node(pos)
-                       minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z})
                        return {name}
                end
        end