Replace deprecated functions

master
Wuzzy 2019-03-28 14:48:51 +01:00
parent bf7b55bfff
commit 936ec8bde4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ check = storage_ref:get_string("spawnbuilder_width")
if check ~= "" then
WIDTH = check
else
WIDTH = tonumber(minetest.setting_get("spawnbuilder_width"))
WIDTH = tonumber(minetest.settings:get("spawnbuilder_width"))
if type(WIDTH) == "number" then
WIDTH = math.floor(WIDTH)
else