More null's and cosmetic fixes.

This commit is contained in:
Gunther De Wachter
2017-06-30 17:30:03 +02:00
parent c382ab7300
commit 49a87f62ce
7 changed files with 8 additions and 8 deletions
@@ -52,7 +52,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
{
for( int x = 0; x < this.size; x++ )
{
if( this.getStackInSlot( x ) != null )
if( !this.getStackInSlot( x ).isEmpty() )
{
return false;
}
@@ -117,7 +117,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
if( this.inv[slot] == null )
return ItemStack.EMPTY;
else return this.inv[slot];
return this.inv[slot];
}
@Override