Possible fix for config issues

This commit is contained in:
DarkGuardsman 2014-01-11 06:16:34 -05:00
parent 0747c2ffad
commit 9771db804c

View file

@ -89,8 +89,6 @@ public class ResonantInduction
MinecraftForge.EVENT_BUS.register(new LinkEventHandler()); MinecraftForge.EVENT_BUS.register(new LinkEventHandler());
MinecraftForge.EVENT_BUS.register(new FluidEventHandler()); MinecraftForge.EVENT_BUS.register(new FluidEventHandler());
Settings.CONFIGURATION.load();
blockMulti = new BlockMulti(Settings.getNextBlockID()).setPacketType(PACKET_TILE); blockMulti = new BlockMulti(Settings.getNextBlockID()).setPacketType(PACKET_TILE);
MIXTURE = new Fluid("mixture"); MIXTURE = new Fluid("mixture");
@ -107,7 +105,7 @@ public class ResonantInduction
GameRegistry.registerBlock(blockFluidMixture, blockFluidMixture.getUnlocalizedName()); GameRegistry.registerBlock(blockFluidMixture, blockFluidMixture.getUnlocalizedName());
GameRegistry.registerTileEntity(TileFluidMixture.class, blockFluidMixture.getUnlocalizedName()); GameRegistry.registerTileEntity(TileFluidMixture.class, blockFluidMixture.getUnlocalizedName());
Settings.CONFIGURATION.save();
} }
@EventHandler @EventHandler
@ -124,6 +122,7 @@ public class ResonantInduction
{ {
// Generate Dusts // Generate Dusts
ResourceGenerator.generateDusts(); ResourceGenerator.generateDusts();
Settings.save();
} }
} }