sussycraft-engine/builtin/client/misc.lua

8 lines
150 B
Lua
Raw Normal View History

2023-02-19 21:41:32 +01:00
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