Replace deprecated settings_* API methods
This commit is contained in:
parent
f2c864ac04
commit
904c47dea2
15 changed files with 29 additions and 33 deletions
|
@ -30,7 +30,7 @@ function chatplus.init()
|
|||
end
|
||||
|
||||
function chatplus.setting(name)
|
||||
local get = minetest.setting_get("chatplus_" .. name)
|
||||
local get = minetest.settings:get("chatplus_" .. name)
|
||||
if get then
|
||||
return get
|
||||
elseif chatplus._defsettings[name]~= nil then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue