forked from minetest/minetest_game
Doors: Disable client dig prediction for protected doors
This commit is contained in:
parent
fe67ffda7c
commit
edba1dcb02
@ -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…
Reference in New Issue
Block a user