mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Do not error() on digprop_* calls but print a warning
This commit is contained in:
parent
d24c56fd4b
commit
9101b680c0
@ -753,7 +753,8 @@ minetest.register_item(":", {
|
|||||||
-- Default material types
|
-- Default material types
|
||||||
--
|
--
|
||||||
function digprop_err()
|
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
|
end
|
||||||
|
|
||||||
minetest.digprop_constanttime = digprop_err
|
minetest.digprop_constanttime = digprop_err
|
||||||
|
Loading…
Reference in New Issue
Block a user