1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-01-09 06:50:17 +01:00

Doors: Disable client dig prediction for protected doors

This commit is contained in:
sfan5 2017-09-11 21:13:55 +02:00
parent fe67ffda7c
commit edba1dcb02

View File

@ -410,6 +410,7 @@ function doors.register(name, def)
return secret, "a locked door", owner return secret, "a locked door", owner
end end
def.node_dig_prediction = ""
else else
def.on_blast = function(pos, intensity) def.on_blast = function(pos, intensity)
minetest.remove_node(pos) minetest.remove_node(pos)