mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Rename get_json_value to read_json_value
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user