fix deprecated settings fetch

master
Vanessa Dannenberg 2020-04-15 16:42:18 -04:00
parent 5a7267afa7
commit 13bef47c8a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ local function validate_size(s)
end
end
local hotbar_size_default = validate_size(minetest.setting_get("hotbar_size"))
local hotbar_size_default = validate_size(minetest.settings:get("hotbar_size"))
local player_hotbar_settings = {}