Doors: Same prediction change for trapdoors
authorsfan5 <sfan5@live.de>
Mon, 11 Sep 2017 20:52:19 +0000 (22:52 +0200)
committersfan5 <sfan5@live.de>
Mon, 11 Sep 2017 22:28:29 +0000 (00:28 +0200)
Forgot this in the last commit, thanks @Fixer-007

mods/doors/init.lua

index 4ee2c5abd0175512e15f9f377711b6bae09cd216..2fcc23de94534b73352fc0317a5b610b1f1bc05e 100644 (file)
@@ -608,6 +608,7 @@ function doors.register_trapdoor(name, def)
 
                        return secret, "a locked trapdoor", owner
                end
+               def.node_dig_prediction = ""
        else
                def.on_blast = function(pos, intensity)
                        minetest.remove_node(pos)