1
0
鏡像自 https://github.com/minetest-mods/moreblocks.git 已同步 2025-06-30 23:20:44 +02:00

Replace deprecated methods:

- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
此提交包含在:
AntumDeluge
2017-05-12 19:12:56 -07:00
提交者 sofar
父節點 acd570ba0d
當前提交 7347b05e3e
共有 4 個檔案被更改,包括 5 行新增5 行删除

查看文件

@ -32,6 +32,6 @@ dofile(modpath .. "/redefinitions.lua")
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
if minetest.setting_getbool("log_mods") then
if minetest.settings:get_bool("log_mods") then
minetest.log("action", S("[moreblocks] loaded."))
end