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 = client->getInventory(inventory_location);
|
||||
|
||||
if (!inventory) {
|
||||
lua_pushnil(L);
|
||||
return 1;
|
||||
}
|
||||
if (!inventory) {
|
||||
lua_pushnil(L);
|
||||
return 1;
|
||||
}
|
||||
|
||||
push_inventory(L, inventory);
|
||||
} catch (SerializationError &) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user