mirror of
https://github.com/mt-mods/dreambuilder_hotbar.git
synced 2024-11-19 21:23:45 +01:00
fix deprecated settings fetch
This commit is contained in:
parent
5a7267afa7
commit
13bef47c8a
2
init.lua
2
init.lua
@ -11,7 +11,7 @@ local function validate_size(s)
|
|||||||
end
|
end
|
||||||
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 = {}
|
local player_hotbar_settings = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user