From a9629460bbc326f0e3951947e8b30ebf49b98b2a Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Fri, 31 Jan 2014 15:12:15 -0600 Subject: [PATCH] Fixed Typo REQUIRE_CHANNEL. --- me/GridNode.java | 2 +- me/cache/P2PCache.java | 4 ++-- me/cache/PathGridCache.java | 4 ++-- me/pathfinding/PathSegment.java | 2 +- parts/PartBasicState.java | 2 +- parts/p2p/PartP2PTunnelME.java | 2 +- parts/reporting/PartMonitor.java | 2 +- tile/misc/TileSecurity.java | 2 +- tile/networking/TileWireless.java | 2 +- tile/spatial/TileSpatialPylon.java | 2 +- tile/storage/TileChest.java | 2 +- tile/storage/TileDrive.java | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/me/GridNode.java b/me/GridNode.java index a7e23a21..ed0a5312 100644 --- a/me/GridNode.java +++ b/me/GridNode.java @@ -470,7 +470,7 @@ public class GridNode implements IGridNode, IPathItem @Override public boolean meetsChannelRequirements() { - return (!getGridBlock().getFlags().contains( GridFlags.REQURE_CHANNEL ) || getUsedChannels() > 0); + return (!getGridBlock().getFlags().contains( GridFlags.REQUIRE_CHANNEL ) || getUsedChannels() > 0); } @Override diff --git a/me/cache/P2PCache.java b/me/cache/P2PCache.java index 51c676a3..2546ca26 100644 --- a/me/cache/P2PCache.java +++ b/me/cache/P2PCache.java @@ -84,7 +84,7 @@ public class P2PCache implements IGridCache { if ( machine instanceof PartP2PTunnelME ) { - if ( !node.hasFlag( GridFlags.REQURE_CHANNEL ) ) + if ( !node.hasFlag( GridFlags.REQUIRE_CHANNEL ) ) return; } @@ -107,7 +107,7 @@ public class P2PCache implements IGridCache { if ( machine instanceof PartP2PTunnelME ) { - if ( !node.hasFlag( GridFlags.REQURE_CHANNEL ) ) + if ( !node.hasFlag( GridFlags.REQUIRE_CHANNEL ) ) return; } diff --git a/me/cache/PathGridCache.java b/me/cache/PathGridCache.java index 1afa5bff..554551c4 100644 --- a/me/cache/PathGridCache.java +++ b/me/cache/PathGridCache.java @@ -190,7 +190,7 @@ public class PathGridCache implements IPathingGrid recalculateControllerNextTick = true; } - if ( gridNode.getGridBlock().getFlags().contains( GridFlags.REQURE_CHANNEL ) ) + if ( gridNode.getGridBlock().getFlags().contains( GridFlags.REQUIRE_CHANNEL ) ) requireChannels.remove( gridNode ); repath(); @@ -205,7 +205,7 @@ public class PathGridCache implements IPathingGrid recalculateControllerNextTick = true; } - if ( gridNode.getGridBlock().getFlags().contains( GridFlags.REQURE_CHANNEL ) ) + if ( gridNode.getGridBlock().getFlags().contains( GridFlags.REQUIRE_CHANNEL ) ) requireChannels.add( gridNode ); repath(); diff --git a/me/pathfinding/PathSegment.java b/me/pathfinding/PathSegment.java index 26b60adb..ad7d44c2 100644 --- a/me/pathfinding/PathSegment.java +++ b/me/pathfinding/PathSegment.java @@ -48,7 +48,7 @@ public class PathSegment { pi.setControllerRoute( i, true ); - if ( flags.contains( GridFlags.REQURE_CHANNEL ) ) + if ( flags.contains( GridFlags.REQUIRE_CHANNEL ) ) { // close the semi open. if ( !semiopen.contains( pi ) ) diff --git a/parts/PartBasicState.java b/parts/PartBasicState.java index b697eec8..4a71fef2 100644 --- a/parts/PartBasicState.java +++ b/parts/PartBasicState.java @@ -110,7 +110,7 @@ public class PartBasicState extends AEBasePart public PartBasicState(Class c, ItemStack is) { super( c, is ); - proxy.setFlags( GridFlags.REQURE_CHANNEL ); + proxy.setFlags( GridFlags.REQUIRE_CHANNEL ); } } diff --git a/parts/p2p/PartP2PTunnelME.java b/parts/p2p/PartP2PTunnelME.java index 36acd207..01096a8a 100644 --- a/parts/p2p/PartP2PTunnelME.java +++ b/parts/p2p/PartP2PTunnelME.java @@ -38,7 +38,7 @@ public class PartP2PTunnelME extends PartP2PTunnel implements I public PartP2PTunnelME(ItemStack is) { super( is ); - proxy.setFlags( GridFlags.REQURE_CHANNEL, GridFlags.DENSE_CHANNEL ); + proxy.setFlags( GridFlags.REQUIRE_CHANNEL, GridFlags.DENSE_CHANNEL ); outerProxy.setFlags( GridFlags.TIER_2_CAPACITY, GridFlags.CANNOT_CARRY_DENSE ); } diff --git a/parts/reporting/PartMonitor.java b/parts/reporting/PartMonitor.java index 3ef97c9c..dd2dbe25 100644 --- a/parts/reporting/PartMonitor.java +++ b/parts/reporting/PartMonitor.java @@ -116,7 +116,7 @@ public class PartMonitor extends AEBasePart implements IPartMonitor protected PartMonitor(Class c, ItemStack is) { super( c, is ); if ( notLightSource ) - proxy.setFlags( GridFlags.REQURE_CHANNEL ); + proxy.setFlags( GridFlags.REQUIRE_CHANNEL ); else proxy.setIdlePowerUsage( 1.0 / 16.0 ); // lights drain a little bit. diff --git a/tile/misc/TileSecurity.java b/tile/misc/TileSecurity.java index ae42b0d6..e6ab38b4 100644 --- a/tile/misc/TileSecurity.java +++ b/tile/misc/TileSecurity.java @@ -185,7 +185,7 @@ public class TileSecurity extends AENetworkTile implements IStorageMonitorable public TileSecurity() { addNewHandler( new SecurityHandler() ); - gridProxy.setFlags( GridFlags.REQURE_CHANNEL ); + gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL ); gridProxy.setIdlePowerUsage( 2.0 ); diffrence++; securityKey = System.currentTimeMillis() * 10 + diffrence; diff --git a/tile/networking/TileWireless.java b/tile/networking/TileWireless.java index 4161dd98..8a5068a6 100644 --- a/tile/networking/TileWireless.java +++ b/tile/networking/TileWireless.java @@ -33,7 +33,7 @@ public class TileWireless extends AENetworkInvTile public int clientFlags = 0; public TileWireless() { - gridProxy.setFlags( GridFlags.REQURE_CHANNEL ); + gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL ); addNewHandler( new TileWirelessHandler() ); } diff --git a/tile/spatial/TileSpatialPylon.java b/tile/spatial/TileSpatialPylon.java index c839f374..9f4789dd 100644 --- a/tile/spatial/TileSpatialPylon.java +++ b/tile/spatial/TileSpatialPylon.java @@ -77,7 +77,7 @@ public class TileSpatialPylon extends AENetworkTile implements IAEMultiBlock }; public TileSpatialPylon() { - gridProxy.setFlags( GridFlags.REQURE_CHANNEL, GridFlags.MULTIBLOCK ); + gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL, GridFlags.MULTIBLOCK ); gridProxy.setIdlePowerUsage( 0.5 ); gridProxy.setValidSides( EnumSet.noneOf( ForgeDirection.class ) ); addNewHandler( new TileSpatialPylonHandler() ); diff --git a/tile/storage/TileChest.java b/tile/storage/TileChest.java index d8651181..75657ea9 100644 --- a/tile/storage/TileChest.java +++ b/tile/storage/TileChest.java @@ -218,7 +218,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan } public TileChest() { - gridProxy.setFlags( GridFlags.REQURE_CHANNEL ); + gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL ); addNewHandler( new invManger() ); internalPublicPowerStorage = true; diff --git a/tile/storage/TileDrive.java b/tile/storage/TileDrive.java index 244ebaec..6060aba1 100644 --- a/tile/storage/TileDrive.java +++ b/tile/storage/TileDrive.java @@ -133,7 +133,7 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior public TileDrive() { mySrc = new MachineSource( this ); - gridProxy.setFlags( GridFlags.REQURE_CHANNEL ); + gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL ); addNewHandler( new invManger() ); }