mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-15 12:21:24 +00:00
Doors: Disable client dig prediction for protected doors
This commit is contained in:
parent
fe67ffda7c
commit
edba1dcb02
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue