From b534b0ed858def2bec588f44cb2a0fbb9bf1bc51 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Sun, 21 Sep 2014 01:06:22 +0200 Subject: [PATCH] Typo montiorable --- .../ContainerCraftingTerm.java | 8 +++--- .../ContainerMEMonitorable.java | 28 +++++++++---------- .../ContainerMEPortableCell.java | 6 ++-- .../implementations/ContainerPatternTerm.java | 8 +++--- .../implementations/ContainerSecurity.java | 6 ++-- .../ContainerWirelessTerm.java | 6 ++-- 6 files changed, 31 insertions(+), 31 deletions(-) diff --git a/container/implementations/ContainerCraftingTerm.java b/container/implementations/ContainerCraftingTerm.java index c07ae362..91277466 100644 --- a/container/implementations/ContainerCraftingTerm.java +++ b/container/implementations/ContainerCraftingTerm.java @@ -39,9 +39,9 @@ public class ContainerCraftingTerm extends ContainerMEMonitorable implements IAE outputSlot.putStack( CraftingManager.getInstance().findMatchingRecipe( ic, getPlayerInv().player.worldObj ) ); } - public ContainerCraftingTerm(InventoryPlayer ip, ITerminalHost montiorable) { - super( ip, montiorable, false ); - ct = (PartCraftingTerminal) montiorable; + public ContainerCraftingTerm(InventoryPlayer ip, ITerminalHost monitorable) { + super( ip, monitorable, false ); + ct = (PartCraftingTerminal) monitorable; IInventory crafting = ct.getInventoryByName( "crafting" ); @@ -49,7 +49,7 @@ public class ContainerCraftingTerm extends ContainerMEMonitorable implements IAE for (int x = 0; x < 3; x++) addSlotToContainer( craftingSlots[x + y * 3] = new SlotCraftingMatrix( this, crafting, x + y * 3, 37 + x * 18, -72 + y * 18 ) ); - addSlotToContainer( outputSlot = new SlotCraftingTerm( getPlayerInv().player, mySrc, powerSrc, montiorable, crafting, crafting, output, 131, -72 + 18, this ) ); + addSlotToContainer( outputSlot = new SlotCraftingTerm( getPlayerInv().player, mySrc, powerSrc, monitorable, crafting, crafting, output, 131, -72 + 18, this ) ); bindPlayerInventory( ip, 0, 0 ); diff --git a/container/implementations/ContainerMEMonitorable.java b/container/implementations/ContainerMEMonitorable.java index d5c674d7..dc6bc272 100644 --- a/container/implementations/ContainerMEMonitorable.java +++ b/container/implementations/ContainerMEMonitorable.java @@ -73,8 +73,8 @@ public class ContainerMEMonitorable extends AEBaseContainer implements IConfigMa return networkNode; } - protected ContainerMEMonitorable(InventoryPlayer ip, ITerminalHost montiorable, boolean bindInventory) { - super( ip, montiorable instanceof TileEntity ? (TileEntity) montiorable : null, montiorable instanceof IPart ? (IPart) montiorable : null ); + protected ContainerMEMonitorable(InventoryPlayer ip, ITerminalHost monitorable, boolean bindInventory) { + super( ip, monitorable instanceof TileEntity ? (TileEntity) monitorable : null, monitorable instanceof IPart ? (IPart) monitorable : null ); clientCM = new ConfigManager( this ); @@ -84,22 +84,22 @@ public class ContainerMEMonitorable extends AEBaseContainer implements IConfigMa if ( Platform.isServer() ) { - serverCM = montiorable.getConfigManager(); + serverCM = monitorable.getConfigManager(); - monitor = montiorable.getItemInventory(); + monitor = monitorable.getItemInventory(); if ( monitor != null ) { monitor.addListener( this, null ); cellInv = monitor; - if ( montiorable instanceof IPortableCell ) - powerSrc = (IPortableCell) montiorable; - else if ( montiorable instanceof IMEChest ) - powerSrc = (IMEChest) montiorable; - else if ( montiorable instanceof IGridHost ) + if ( monitorable instanceof IPortableCell ) + powerSrc = (IPortableCell) monitorable; + else if ( monitorable instanceof IMEChest ) + powerSrc = (IMEChest) monitorable; + else if ( monitorable instanceof IGridHost ) { - IGridNode node = ((IGridHost) montiorable).getGridNode( ForgeDirection.UNKNOWN ); + IGridNode node = ((IGridHost) monitorable).getGridNode( ForgeDirection.UNKNOWN ); if ( node != null ) { networkNode = node; @@ -116,11 +116,11 @@ public class ContainerMEMonitorable extends AEBaseContainer implements IConfigMa monitor = null; canAccessViewCells = false; - if ( montiorable instanceof IViewCellStorage ) + if ( monitorable instanceof IViewCellStorage ) { for (int y = 0; y < 5; y++) { - cellView[y] = new SlotRestrictedInput( PlaceableItemType.VIEWCELL, ((IViewCellStorage) montiorable).getViewCellStorage(), y, 206, y * 18 + 8, + cellView[y] = new SlotRestrictedInput( PlaceableItemType.VIEWCELL, ((IViewCellStorage) monitorable).getViewCellStorage(), y, 206, y * 18 + 8, invPlayer ); cellView[y].allowEdit = canAccessViewCells; addSlotToContainer( cellView[y] ); @@ -131,8 +131,8 @@ public class ContainerMEMonitorable extends AEBaseContainer implements IConfigMa bindPlayerInventory( ip, 0, 0 ); } - public ContainerMEMonitorable(InventoryPlayer ip, ITerminalHost montiorable) { - this( ip, montiorable, true ); + public ContainerMEMonitorable(InventoryPlayer ip, ITerminalHost monitorable) { + this( ip, monitorable, true ); } @Override diff --git a/container/implementations/ContainerMEPortableCell.java b/container/implementations/ContainerMEPortableCell.java index 15e968d2..62072e1e 100644 --- a/container/implementations/ContainerMEPortableCell.java +++ b/container/implementations/ContainerMEPortableCell.java @@ -14,10 +14,10 @@ public class ContainerMEPortableCell extends ContainerMEMonitorable double powerMultiplier = 0.5; IPortableCell civ; - public ContainerMEPortableCell(InventoryPlayer ip, IPortableCell montiorable) { - super( ip, (ITerminalHost) montiorable, false ); + public ContainerMEPortableCell(InventoryPlayer ip, IPortableCell monitorable) { + super( ip, (ITerminalHost) monitorable, false ); lockPlayerInventorySlot( ip.currentItem ); - civ = montiorable; + civ = monitorable; bindPlayerInventory( ip, 0, 0 ); } diff --git a/container/implementations/ContainerPatternTerm.java b/container/implementations/ContainerPatternTerm.java index 4811fb36..4e76edb0 100644 --- a/container/implementations/ContainerPatternTerm.java +++ b/container/implementations/ContainerPatternTerm.java @@ -62,10 +62,10 @@ public class ContainerPatternTerm extends ContainerMEMonitorable implements IAEA public PartPatternTerminal ct; - public ContainerPatternTerm(InventoryPlayer ip, ITerminalHost montiorable) + public ContainerPatternTerm(InventoryPlayer ip, ITerminalHost monitorable) { - super( ip, montiorable, false ); - ct = (PartPatternTerminal) montiorable; + super( ip, monitorable, false ); + ct = (PartPatternTerminal) monitorable; IInventory patternInv = ct.getInventoryByName( "pattern" ); IInventory output = ct.getInventoryByName( "output" ); @@ -75,7 +75,7 @@ public class ContainerPatternTerm extends ContainerMEMonitorable implements IAEA for (int x = 0; x < 3; x++) addSlotToContainer( craftingSlots[x + y * 3] = new SlotFakeCraftingMatrix( crafting, x + y * 3, 18 + x * 18, -76 + y * 18 ) ); - addSlotToContainer( craftSlot = new SlotPatternTerm( ip.player, mySrc, powerSrc, montiorable, crafting, patternInv, cOut, 110, -76 + 18, this, 2, this ) ); + addSlotToContainer( craftSlot = new SlotPatternTerm( ip.player, mySrc, powerSrc, monitorable, crafting, patternInv, cOut, 110, -76 + 18, this, 2, this ) ); craftSlot.IIcon = -1; for (int y = 0; y < 3; y++) diff --git a/container/implementations/ContainerSecurity.java b/container/implementations/ContainerSecurity.java index ae246888..e75af5bd 100644 --- a/container/implementations/ContainerSecurity.java +++ b/container/implementations/ContainerSecurity.java @@ -33,10 +33,10 @@ public class ContainerSecurity extends ContainerMEMonitorable implements IAEAppE TileSecurity securityBox; - public ContainerSecurity(InventoryPlayer ip, ITerminalHost montiorable) { - super( ip, montiorable, false ); + public ContainerSecurity(InventoryPlayer ip, ITerminalHost monitorable) { + super( ip, monitorable, false ); - securityBox = (TileSecurity) montiorable; + securityBox = (TileSecurity) monitorable; addSlotToContainer( configSlot = new SlotRestrictedInput( PlaceableItemType.BIOMETRIC_CARD, securityBox.configSlot, 0, 37, -33, ip ) ); diff --git a/container/implementations/ContainerWirelessTerm.java b/container/implementations/ContainerWirelessTerm.java index 6416a369..c1390dce 100644 --- a/container/implementations/ContainerWirelessTerm.java +++ b/container/implementations/ContainerWirelessTerm.java @@ -11,9 +11,9 @@ public class ContainerWirelessTerm extends ContainerMEPortableCell WirelessTerminalGuiObject wtgo; - public ContainerWirelessTerm(InventoryPlayer ip, WirelessTerminalGuiObject montiorable) { - super( ip, montiorable ); - wtgo = montiorable; + public ContainerWirelessTerm(InventoryPlayer ip, WirelessTerminalGuiObject monitorable) { + super( ip, monitorable ); + wtgo = monitorable; } @Override