mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rename get_json_value to read_json_value
This commit is contained in:
parent
bd8ddf1a52
commit
a9df87ede0
3 changed files with 4 additions and 4 deletions
|
@ -192,7 +192,7 @@ int ModApiUtil::l_write_json(lua_State *L)
|
|||
|
||||
Json::Value root;
|
||||
try {
|
||||
get_json_value(L, root, 1);
|
||||
read_json_value(L, root, 1);
|
||||
} catch (SerializationError &e) {
|
||||
lua_pushnil(L);
|
||||
lua_pushstring(L, e.what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue