Fixed Typo REQUIRE_CHANNEL.
This commit is contained in:
parent
4c354995c9
commit
a9629460bb
12 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
4
me/cache/P2PCache.java
vendored
4
me/cache/P2PCache.java
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
4
me/cache/PathGridCache.java
vendored
4
me/cache/PathGridCache.java
vendored
|
@ -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();
|
||||
|
|
|
@ -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 ) )
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
|
@ -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() );
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue