diff options
author | Zughy <63455151+Zughy@users.noreply.github.com> | 2021-01-21 18:17:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 18:17:09 +0000 |
commit | 45ccfe26fb6e0a130e4925ec362cccb1f045a829 (patch) | |
tree | 050fd684fa96f8d613d1d469f2fc9bb3d94d13c6 /builtin/game/deprecated.lua | |
parent | ea5d6312c1ab6ff3e859fcd7a429a384f0f0ff91 (diff) | |
download | minetest-45ccfe26fb6e0a130e4925ec362cccb1f045a829.tar.gz minetest-45ccfe26fb6e0a130e4925ec362cccb1f045a829.tar.bz2 minetest-45ccfe26fb6e0a130e4925ec362cccb1f045a829.zip |
Removed some obsolete code (#10562)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to 'builtin/game/deprecated.lua')
-rw-r--r-- | builtin/game/deprecated.lua | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/builtin/game/deprecated.lua b/builtin/game/deprecated.lua index 20f0482eb..c5c7848f5 100644 --- a/builtin/game/deprecated.lua +++ b/builtin/game/deprecated.lua @@ -1,29 +1,6 @@ -- Minetest: builtin/deprecated.lua -- --- Default material types --- -local function digprop_err() - core.log("deprecated", "The core.digprop_* functions are obsolete and need to be replaced by item groups.") -end - -core.digprop_constanttime = digprop_err -core.digprop_stonelike = digprop_err -core.digprop_dirtlike = digprop_err -core.digprop_gravellike = digprop_err -core.digprop_woodlike = digprop_err -core.digprop_leaveslike = digprop_err -core.digprop_glasslike = digprop_err - -function core.node_metadata_inventory_move_allow_all() - core.log("deprecated", "core.node_metadata_inventory_move_allow_all is obsolete and does nothing.") -end - -function core.add_to_creative_inventory(itemstring) - core.log("deprecated", "core.add_to_creative_inventory is obsolete and does nothing.") -end - --- -- EnvRef -- core.env = {} @@ -77,7 +54,7 @@ core.setting_save = setting_proxy("write") function core.register_on_auth_fail(func) core.log("deprecated", "core.register_on_auth_fail " .. - "is obsolete and should be replaced by " .. + "is deprecated and should be replaced by " .. "core.register_on_authplayer instead.") core.register_on_authplayer(function (player_name, ip, is_success) |