projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe67ffd
)
Doors: Disable client dig prediction for protected doors
author
sfan5
<sfan5@live.de>
Mon, 11 Sep 2017 19:13:55 +0000
(21:13 +0200)
committer
sfan5
<sfan5@live.de>
Mon, 11 Sep 2017 19:35:28 +0000
(21:35 +0200)
mods/doors/init.lua
patch
|
blob
|
history
diff --git
a/mods/doors/init.lua
b/mods/doors/init.lua
index 0eed5b84bdccfdd50ec019e3f2940dda2f62a3b1..4ee2c5abd0175512e15f9f377711b6bae09cd216 100644
(file)
--- 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)