minetest.get_inventory: whitespace fix
This commit is contained in:
parent
0aa41f326c
commit
cac68e9132
@ -471,10 +471,10 @@ int ModApiClient::l_get_inventory(lua_State *L)
|
|||||||
inventory_location.deSerialize(location);
|
inventory_location.deSerialize(location);
|
||||||
inventory = client->getInventory(inventory_location);
|
inventory = client->getInventory(inventory_location);
|
||||||
|
|
||||||
if (!inventory) {
|
if (!inventory) {
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
push_inventory(L, inventory);
|
push_inventory(L, inventory);
|
||||||
} catch (SerializationError &) {
|
} catch (SerializationError &) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user