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:
e7be812
)
intersects_protection(): Fix compatibility code
author
luk3yx
<luk3yx@users.noreply.github.com>
Wed, 3 Jul 2019 17:10:39 +0000
(
05:10
+1200)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Wed, 3 Jul 2019 17:10:39 +0000
(19:10 +0200)
mods/default/legacy.lua
patch
|
blob
|
history
diff --git
a/mods/default/legacy.lua
b/mods/default/legacy.lua
index 935d857ad49acedf89ab45fd19cf6266acc9d163..a2d812d4664e53bbed48bfe670ef3ebbc8138be2 100644
(file)
--- a/
mods/default/legacy.lua
+++ b/
mods/default/legacy.lua
@@
-45,5
+45,5
@@
default.register_chest = default.chest.register_chest
function default.intersects_protection(minp, maxp, player_name, interval)
minetest.log("warning", "default.intersects_protection() is " ..
"deprecated, use minetest.is_area_protected() instead.")
- minetest.is_area_protected(minp, maxp, player_name, interval)
+
return
minetest.is_area_protected(minp, maxp, player_name, interval)
end