Typo chanels

This commit is contained in:
thatsIch
2014-09-21 01:47:49 +02:00
parent cb4b96cee2
commit 2a9e973362
+3 -3
View File
@@ -89,7 +89,7 @@ public class PathGridCache implements IPathingGrid
if ( !AEConfig.instance.isFeatureEnabled( AEFeature.Channels ) ) if ( !AEConfig.instance.isFeatureEnabled( AEFeature.Channels ) )
{ {
int used = calculateRequiredChanels(); int used = calculateRequiredChannels();
int nodes = myGrid.getNodes().size(); int nodes = myGrid.getNodes().size();
ticksUntilReady = 20 + Math.max( 0, nodes / 100 - 20 ); ticksUntilReady = 20 + Math.max( 0, nodes / 100 - 20 );
@@ -100,7 +100,7 @@ public class PathGridCache implements IPathingGrid
} }
else if ( controllerState == ControllerState.NO_CONTROLLER ) else if ( controllerState == ControllerState.NO_CONTROLLER )
{ {
int requiredChannels = calculateRequiredChanels(); int requiredChannels = calculateRequiredChannels();
int used = requiredChannels; int used = requiredChannels;
if ( requiredChannels > 8 ) if ( requiredChannels > 8 )
used = 0; used = 0;
@@ -218,7 +218,7 @@ public class PathGridCache implements IPathingGrid
return Achievements.Networking3; return Achievements.Networking3;
} }
private int calculateRequiredChanels() private int calculateRequiredChannels()
{ {
int depth = 0; int depth = 0;
semiOpen.clear(); semiOpen.clear();