Skip to content
Permalink
Browse files

Doors: Disable client dig prediction for protected doors

  • Loading branch information
sfan5 committed Sep 11, 2017
1 parent fe67ffd commit edba1dcb028f1bfd8831cd69ab77a6a730fdc90d
Showing with 1 addition and 0 deletions.
  1. +1 −0 mods/doors/init.lua
@@ -410,6 +410,7 @@ function doors.register(name, def)

return secret, "a locked door", owner
end
def.node_dig_prediction = ""
else
def.on_blast = function(pos, intensity)
minetest.remove_node(pos)

1 comment on commit edba1dc

@Fixer-007

This comment has been minimized.

Copy link
Contributor

@Fixer-007 Fixer-007 commented on edba1dc Sep 11, 2017

TODO:

  • steel trapdoors
  • locked chests (?)
Please sign in to comment.