Do not error() on digprop_* calls but print a warning

This commit is contained in:
Perttu Ahola 2012-03-19 08:23:11 +02:00
parent d24c56fd4b
commit 9101b680c0
1 changed files with 2 additions and 1 deletions

View File

@ -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