minetest/builtin/client/misc.lua

8 lines
150 B
Lua
Raw Normal View History

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