final variables and parameters
This commit is contained in:
@@ -101,14 +101,14 @@ public final class AppEng
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void preInit( FMLPreInitializationEvent event )
|
||||
private void preInit( final FMLPreInitializationEvent event )
|
||||
{
|
||||
if( !Loader.isModLoaded( "appliedenergistics2-core" ) )
|
||||
{
|
||||
CommonHelper.proxy.missingCoreMod();
|
||||
}
|
||||
|
||||
Stopwatch watch = Stopwatch.createStarted();
|
||||
final Stopwatch watch = Stopwatch.createStarted();
|
||||
this.configDirectory = new File( event.getModConfigurationDirectory().getPath(), "AppliedEnergistics2" );
|
||||
|
||||
final File configFile = new File( this.configDirectory, "AppliedEnergistics2.cfg" );
|
||||
@@ -145,7 +145,7 @@ public final class AppEng
|
||||
AELog.info( "Pre Initialization ( ended after " + watch.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
||||
}
|
||||
|
||||
private void startService( String serviceName, Thread thread )
|
||||
private void startService( final String serviceName, final Thread thread )
|
||||
{
|
||||
thread.setName( serviceName );
|
||||
thread.setPriority( Thread.MIN_PRIORITY );
|
||||
@@ -155,9 +155,9 @@ public final class AppEng
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void init( FMLInitializationEvent event )
|
||||
private void init( final FMLInitializationEvent event )
|
||||
{
|
||||
Stopwatch star = Stopwatch.createStarted();
|
||||
final Stopwatch star = Stopwatch.createStarted();
|
||||
AELog.info( "Initialization ( started )" );
|
||||
|
||||
Registration.INSTANCE.initialize( event );
|
||||
@@ -168,9 +168,9 @@ public final class AppEng
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void postInit( FMLPostInitializationEvent event )
|
||||
private void postInit( final FMLPostInitializationEvent event )
|
||||
{
|
||||
Stopwatch star = Stopwatch.createStarted();
|
||||
final Stopwatch star = Stopwatch.createStarted();
|
||||
AELog.info( "Post Initialization ( started )" );
|
||||
|
||||
Registration.INSTANCE.postInit( event );
|
||||
@@ -193,26 +193,26 @@ public final class AppEng
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void handleIMCEvent( FMLInterModComms.IMCEvent event )
|
||||
private void handleIMCEvent( final FMLInterModComms.IMCEvent event )
|
||||
{
|
||||
this.imcHandler.handleIMCEvent( event );
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void serverAboutToStart( FMLServerAboutToStartEvent evt )
|
||||
private void serverAboutToStart( final FMLServerAboutToStartEvent evt )
|
||||
{
|
||||
WorldData.onServerAboutToStart();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void serverStopping( FMLServerStoppingEvent event )
|
||||
private void serverStopping( final FMLServerStoppingEvent event )
|
||||
{
|
||||
WorldData.instance().onServerStopping();
|
||||
TickHandler.INSTANCE.shutdown();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
private void serverStarting( FMLServerStartingEvent evt )
|
||||
private void serverStarting( final FMLServerStartingEvent evt )
|
||||
{
|
||||
evt.registerServerCommand( new AECommand( evt.getServer() ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user