Make string to v3f parsing consistent, replace core.setting_get_pos() by core.settings:get_pos() (#15438)
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
This commit is contained in:
@@ -29,6 +29,9 @@ class LuaSettings : public ModApiBase
|
||||
// get_flags(self, key) -> key/value table
|
||||
static int l_get_flags(lua_State *L);
|
||||
|
||||
// get_pos(self, key) -> vector or nil
|
||||
static int l_get_pos(lua_State *L);
|
||||
|
||||
// set(self, key, value)
|
||||
static int l_set(lua_State *L);
|
||||
|
||||
@@ -38,6 +41,9 @@ class LuaSettings : public ModApiBase
|
||||
// set_np_group(self, key, value)
|
||||
static int l_set_np_group(lua_State *L);
|
||||
|
||||
// set_pos(self, key, value)
|
||||
static int l_set_pos(lua_State *L);
|
||||
|
||||
// remove(self, key) -> success
|
||||
static int l_remove(lua_State *L);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user