Skip to content

Commit

Permalink
Doors: Disable client dig prediction for protected doors
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Sep 11, 2017
1 parent fe67ffd commit edba1dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mods/doors/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

1 comment on commit edba1dc

@Fixer-007
Copy link
Contributor

Choose a reason for hiding this comment

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

TODO:

  • steel trapdoors
  • locked chests (?)

Please sign in to comment.