Merge pull request #157 from thatsIch/Spelling

Spelling
This commit is contained in:
Chris
2014-09-28 10:09:39 -07:00
220 changed files with 1644 additions and 1665 deletions
@@ -75,7 +75,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
static final int sides[] = new int[] { 0 };
static final int front[] = new int[] { 1 };
static final int noslots[] = new int[] {};
static final int noSlots[] = new int[] {};
AppEngInternalInventory inv = new AppEngInternalInventory( this, 2 );
BaseActionSource mySrc = new MachineSource( this );
@@ -264,19 +264,19 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
boolean isCached = false;
private ICellHandler cellHandler;
private MEMonitorHandler icell;
private MEMonitorHandler fcell;
private MEMonitorHandler itemCell;
private MEMonitorHandler fluidCell;
@Override
public IMEMonitor getItemInventory()
{
return icell;
return itemCell;
}
@Override
public IMEMonitor getFluidInventory()
{
return fcell;
return fluidCell;
}
class ChestNetNotifier<T extends IAEStack<T>> implements IMEMonitorHandlerReceiver<T>
@@ -312,9 +312,9 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
public boolean isValid(Object verificationToken)
{
if ( chan == StorageChannel.ITEMS )
return verificationToken == icell;
return verificationToken == itemCell;
if ( chan == StorageChannel.FLUIDS )
return verificationToken == fcell;
return verificationToken == fluidCell;
return false;
}
@@ -409,8 +409,8 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
{
if ( !isCached )
{
icell = null;
fcell = null;
itemCell = null;
fluidCell = null;
ItemStack is = inv.getStackInSlot( 1 );
if ( is != null )
@@ -431,8 +431,8 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
gridProxy.setIdlePowerUsage( power );
icell = wrap( itemCell );
fcell = wrap( fluidCell );
this.itemCell = wrap( itemCell );
this.fluidCell = wrap( fluidCell );
}
}
}
@@ -440,13 +440,13 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
switch (channel)
{
case FLUIDS:
if ( fcell == null )
if ( fluidCell == null )
throw noHandler;
return fcell;
return fluidCell;
case ITEMS:
if ( icell == null )
if ( itemCell == null )
throw noHandler;
return icell;
return itemCell;
default:
}
@@ -464,8 +464,8 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
{
if ( slot == 1 )
{
icell = null;
fcell = null;
itemCell = null;
fluidCell = null;
isCached = false; // recalculate the storage cell.
try
@@ -566,7 +566,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
// nope!
}
}
return noslots;
return noSlots;
}
@Override
@@ -794,8 +794,8 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
{
priority = newValue;
icell = null;
fcell = null;
itemCell = null;
fluidCell = null;
isCached = false; // recalculate the storage cell.
try