sussycraft-engine/builtin/client/misc.lua
2023-02-19 21:41:32 +01:00

8 lines
150 B
Lua

function core.setting_get_pos(name)
local value = core.settings:get(name)
if not value then
return nil
end
return core.string_to_pos(value)
end