This commit is contained in:
Calclavia 2014-01-11 22:27:33 +08:00
commit b41c1ce033
6 changed files with 9 additions and 9 deletions

View file

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

View file

@ -1,4 +1,4 @@
package resonantinduction.mechanical.fluid.tank;
package resonantinduction.core.prefab;
import java.util.ArrayList;
import java.util.List;

View file

@ -1,4 +1,4 @@
package resonantinduction.mechanical.fluid.tank;
package resonantinduction.core.prefab;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;

View file

@ -1,4 +1,4 @@
package resonantinduction.mechanical.fluid.tank;
package resonantinduction.core.prefab;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;

View file

@ -103,7 +103,7 @@ public class Electrical
{
NetworkRegistry.instance().registerGuiHandler(this, proxy);
Settings.CONFIGURATION.load();
Settings.load();
// Energy
itemPartWire = contentRegistry.createItem(ItemWire.class);
@ -131,7 +131,7 @@ public class Electrical
GameRegistry.registerTileEntity(TileAdvancedFurnace.class, "ri_" + blockAdvancedFurnace.getUnlocalizedName());
}
Settings.CONFIGURATION.save();
Settings.save();
/**
* Set reference itemstacks
@ -144,7 +144,6 @@ public class Electrical
}
proxy.preInit();
Settings.CONFIGURATION.save();
}
@EventHandler

View file

@ -64,6 +64,7 @@ public class Mechanical
@EventHandler
public void preInit(FMLPreInitializationEvent evt)
{
Settings.load();
NetworkRegistry.instance().registerGuiHandler(this, proxy);
blockConveyorBelt = contentRegistry.createTile(BlockConveyorBelt.class, TileConveyorBelt.class);
@ -72,6 +73,7 @@ public class Mechanical
blockGrate = contentRegistry.createTile(BlockGrate.class, TileGrate.class);
blockPump = contentRegistry.createTile(BlockPump.class, TilePump.class);
proxy.preInit();
Settings.save();
}
@EventHandler