Clean this b4 people kill me

This commit is contained in:
Gig 2015-06-06 23:20:30 +01:00
parent 2ed801eeb2
commit 03c1556935

View file

@ -44,8 +44,7 @@ public class Core {
public static Core INSTANCE; public static Core INSTANCE;
@Mod.EventHandler @Mod.EventHandler
public void preinit(FMLPreInitializationEvent event) public void preinit(FMLPreInitializationEvent event){
{
INSTANCE = this; INSTANCE = this;
String path = event.getSuggestedConfigurationFile().getAbsolutePath() String path = event.getSuggestedConfigurationFile().getAbsolutePath()
.replace(ModInfo.MOD_ID, "TechReborn"); .replace(ModInfo.MOD_ID, "TechReborn");
@ -55,8 +54,7 @@ public class Core {
} }
@Mod.EventHandler @Mod.EventHandler
public void init(FMLInitializationEvent event) public void init(FMLInitializationEvent event){
{
// Register ModBlocks // Register ModBlocks
ModBlocks.init(); ModBlocks.init();
// Register Fluids // Register Fluids
@ -86,8 +84,7 @@ public class Core {
} }
@Mod.EventHandler @Mod.EventHandler
public void postinit(FMLPostInitializationEvent event) public void postinit(FMLPostInitializationEvent event){
{
// Has to be done here as Buildcraft registers there recipes late // Has to be done here as Buildcraft registers there recipes late
RecipeManager.init(); RecipeManager.init();
//Has to be done after the recipes have been added //Has to be done after the recipes have been added
@ -102,13 +99,9 @@ public class Core {
} }
@SubscribeEvent @SubscribeEvent
public void onConfigChanged( public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent cfgChange){
ConfigChangedEvent.OnConfigChangedEvent cfgChange)
{
if (cfgChange.modID.equals("TechReborn")) { if (cfgChange.modID.equals("TechReborn")) {
ConfigTechReborn.Configs(); ConfigTechReborn.Configs();
} }
} }
} }