mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Do not error() on digprop_* calls but print a warning
This commit is contained in:
parent
d24c56fd4b
commit
9101b680c0
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue