Replace call to simple getter from within class with inlined version
This commit is contained in:
@@ -48,7 +48,7 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
|
||||
|
||||
public boolean isEmpty()
|
||||
{
|
||||
for (int x = 0; x < this.getSizeInventory(); x++)
|
||||
for (int x = 0; x < this.size; x++)
|
||||
if ( this.getStackInSlot( x ) != null )
|
||||
return false;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user