mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +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
|
||||
--
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user