added missing channel to energy mod
This commit is contained in:
parent
4d1e73f9e7
commit
32e3d44e13
1 changed files with 5 additions and 1 deletions
|
@ -33,6 +33,7 @@ import buildcraft.energy.worldgen.BiomeGenOilDesert;
|
||||||
import buildcraft.energy.worldgen.BiomeGenOilOcean;
|
import buildcraft.energy.worldgen.BiomeGenOilOcean;
|
||||||
import buildcraft.energy.worldgen.BiomeInitializer;
|
import buildcraft.energy.worldgen.BiomeInitializer;
|
||||||
import buildcraft.energy.worldgen.OilPopulate;
|
import buildcraft.energy.worldgen.OilPopulate;
|
||||||
|
import buildcraft.transport.network.PacketHandlerTransport;
|
||||||
import cpw.mods.fml.common.Mod;
|
import cpw.mods.fml.common.Mod;
|
||||||
import cpw.mods.fml.common.Mod.EventHandler;
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
import cpw.mods.fml.common.Mod.Instance;
|
import cpw.mods.fml.common.Mod.Instance;
|
||||||
|
@ -207,7 +208,10 @@ public class BuildCraftEnergy extends BuildCraftMod {
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void init(FMLInitializationEvent evt) {
|
public void init(FMLInitializationEvent evt) {
|
||||||
NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
|
channels = NetworkRegistry.INSTANCE.newChannel
|
||||||
|
(DefaultProps.NET_CHANNEL_NAME + "-ENERGY", new PacketHandlerTransport());
|
||||||
|
|
||||||
|
NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
|
||||||
|
|
||||||
//new BptBlockEngine(engineBlock.blockID);
|
//new BptBlockEngine(engineBlock.blockID);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue