Merge branch 'master' of https://bitbucket.org/calclavia/resonant-induction
This commit is contained in:
commit
b41c1ce033
6 changed files with 9 additions and 9 deletions
|
@ -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();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package resonantinduction.mechanical.fluid.tank;
|
||||
package resonantinduction.core.prefab;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package resonantinduction.mechanical.fluid.tank;
|
||||
package resonantinduction.core.prefab;
|
||||
|
||||
import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
|
@ -1,4 +1,4 @@
|
|||
package resonantinduction.mechanical.fluid.tank;
|
||||
package resonantinduction.core.prefab;
|
||||
|
||||
import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue