Fixed Bug: #0246 - Typo

This commit is contained in:
AlgorithmX2 2014-03-27 19:33:35 -05:00
parent e384761e82
commit a5379c82f8
5 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@ public class BlockChest extends AEBaseBlock
ItemStack cell = tg.getStackInSlot( 1 ); ItemStack cell = tg.getStackInSlot( 1 );
if ( cell != null ) if ( cell != null )
{ {
ICellHandler ch = AEApi.instance().registries().cell().getHander( cell ); ICellHandler ch = AEApi.instance().registries().cell().getHandler( cell );
tg.openGui( p, ch, cell, side ); tg.openGui( p, ch, cell, side );
} }

View file

@ -112,7 +112,7 @@ public class RenderMEChest extends BaseBlockRender
Tessellator.instance.setColorOpaque_I( 0xffffff ); Tessellator.instance.setColorOpaque_I( 0xffffff );
renderer.setRenderBounds( 0, 0, 0, 1, 1, 1 ); renderer.setRenderBounds( 0, 0, 0, 1, 1, 1 );
ICellHandler ch = AEApi.instance().registries().cell().getHander( sp.getStorageType() ); ICellHandler ch = AEApi.instance().registries().cell().getHandler( sp.getStorageType() );
IIcon ico = ch == null ? null : ch.getTopTexture(); IIcon ico = ch == null ? null : ch.getTopTexture();
renderFace( x, y, z, imb, ico == null ? ExtraTextures.MEChest.getIcon() : ico, renderer, up ); renderFace( x, y, z, imb, ico == null ? ExtraTextures.MEChest.getIcon() : ico, renderer, up );

View file

@ -37,7 +37,7 @@ public class CellRegistry implements ICellRegistry
} }
@Override @Override
public ICellHandler getHander(ItemStack is) public ICellHandler getHandler(ItemStack is)
{ {
if ( is == null ) if ( is == null )
return null; return null;

View file

@ -363,7 +363,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
if ( is != null ) if ( is != null )
{ {
isCached = true; isCached = true;
cellHandler = AEApi.instance().registries().cell().getHander( is ); cellHandler = AEApi.instance().registries().cell().getHandler( is );
if ( cellHandler != null ) if ( cellHandler != null )
{ {
double power = 1.0; double power = 1.0;
@ -553,7 +553,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
return (state >> (slot * 3)) & 3; return (state >> (slot * 3)) & 3;
ItemStack cell = inv.getStackInSlot( 1 ); ItemStack cell = inv.getStackInSlot( 1 );
ICellHandler ch = AEApi.instance().registries().cell().getHander( cell ); ICellHandler ch = AEApi.instance().registries().cell().getHandler( cell );
if ( ch != null ) if ( ch != null )
{ {

View file

@ -214,7 +214,7 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior
if ( is != null ) if ( is != null )
{ {
handlersBySlot[x] = AEApi.instance().registries().cell().getHander( is ); handlersBySlot[x] = AEApi.instance().registries().cell().getHandler( is );
if ( handlersBySlot[x] != null ) if ( handlersBySlot[x] != null )
{ {