Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -34,10 +34,10 @@ public enum IntegrationRegistry
public void add( IntegrationType type )
{
if ( type.side == IntegrationSide.CLIENT && FMLLaunchHandler.side() == Side.SERVER )
if( type.side == IntegrationSide.CLIENT && FMLLaunchHandler.side() == Side.SERVER )
return;
if ( type.side == IntegrationSide.SERVER && FMLLaunchHandler.side() == Side.CLIENT )
if( type.side == IntegrationSide.SERVER && FMLLaunchHandler.side() == Side.CLIENT )
return;
this.modules.add( new IntegrationNode( type.dspName, type.modID, type, "appeng.integration.modules." + type.name() ) );
@@ -45,16 +45,16 @@ public enum IntegrationRegistry
public void init()
{
for ( IntegrationNode node : this.modules )
for( IntegrationNode node : this.modules )
node.Call( IntegrationStage.PRE_INIT );
for ( IntegrationNode node : this.modules )
for( IntegrationNode node : this.modules )
node.Call( IntegrationStage.INIT );
}
public void postInit()
{
for ( IntegrationNode node : this.modules )
for( IntegrationNode node : this.modules )
node.Call( IntegrationStage.POST_INIT );
}
@@ -62,9 +62,9 @@ public enum IntegrationRegistry
{
final StringBuilder builder = new StringBuilder( this.modules.size() * 3 );
for ( IntegrationNode node : this.modules )
for( IntegrationNode node : this.modules )
{
if ( builder.length() != 0 )
if( builder.length() != 0 )
{
builder.append( ", " );
}
@@ -78,9 +78,9 @@ public enum IntegrationRegistry
public boolean isEnabled( IntegrationType name )
{
for ( IntegrationNode node : this.modules )
for( IntegrationNode node : this.modules )
{
if ( node.shortName == name )
if( node.shortName == name )
return node.isActive();
}
return false;
@@ -88,9 +88,9 @@ public enum IntegrationRegistry
public Object getInstance( IntegrationType name )
{
for ( IntegrationNode node : this.modules )
for( IntegrationNode node : this.modules )
{
if ( node.shortName == name && node.isActive() )
if( node.shortName == name && node.isActive() )
{
return node.instance;
}