Replace call to simple getter from within class with inlined version

This commit is contained in:
thatsIch
2015-03-26 10:23:59 +01:00
parent e41d6a0289
commit 4b4693498d
22 changed files with 56 additions and 47 deletions
@@ -129,7 +129,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
@Override
public boolean requiresTESR()
{
return this.getJobProgress() != null;
return this.dspPlay != null;
}
@Override
@@ -44,7 +44,7 @@ public class AppEngInternalAEInventory 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;
@@ -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;