Fixed Typo REQUIRE_CHANNEL.

This commit is contained in:
AlgorithmX2 2014-01-31 15:12:15 -06:00
parent 4c354995c9
commit a9629460bb
12 changed files with 14 additions and 14 deletions

View file

@ -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

View file

@ -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;
}

View file

@ -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();

View file

@ -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 ) )

View file

@ -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 );
}
}

View file

@ -38,7 +38,7 @@ public class PartP2PTunnelME extends PartP2PTunnel<PartP2PTunnelME> 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 );
}

View file

@ -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.

View file

@ -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;

View file

@ -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() );
}

View file

@ -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() );

View file

@ -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;

View file

@ -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() );
}