Possible fix for config issues
This commit is contained in:
parent
0747c2ffad
commit
9771db804c
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue