From: sfan5 Date: Mon, 11 Sep 2017 19:13:55 +0000 (+0200) Subject: Doors: Disable client dig prediction for protected doors X-Git-Tag: 5.0.0~180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=edba1dcb028f1bfd8831cd69ab77a6a730fdc90d;p=oweals%2Fminetest_game.git Doors: Disable client dig prediction for protected doors --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 0eed5b84..4ee2c5ab 100644 --- a/mods/doors/init.lua +++ b/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)