projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24c56f
)
Do not error() on digprop_* calls but print a warning
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 19 Mar 2012 06:23:11 +0000
(08:23 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 19 Mar 2012 06:23:11 +0000
(08:23 +0200)
share/server/builtin.lua
patch
|
blob
|
history
diff --git
a/share/server/builtin.lua
b/share/server/builtin.lua
index b896be9586e344386e552a3f367ee54e35bfed28..9b2bed33f0b416a9e22600002c1dc4d670d5e828 100644
(file)
--- a/
share/server/builtin.lua
+++ b/
share/server/builtin.lua
@@
-753,7
+753,8
@@
minetest.register_item(":", {
-- Default material types
--
function digprop_err()
- error("The minetest.digprop_* functions are obsolete and need to be replaced by item groups.")
+ minetest.log("info", debug.traceback())
+ minetest.log("info", "WARNING: The minetest.digprop_* functions are obsolete and need to be replaced by item groups.")
end
minetest.digprop_constanttime = digprop_err