Clean up packet registration code

This commit is contained in:
mezz committed 2015-11-19 01:04:31 -08:00
1 parent a6ecc95f80
commit 4f19f95b71
123 files changed
+847 -301

No files matched your search

@@ -24,6 +24,8 @@ import forestry.core.GuiHandlerBase;
import forestry.core.IPickupHandler;
import forestry.core.IResupplyHandler;
import forestry.core.ISaveEventHandler;
import forestry.core.network.IPacketRegistry;
import forestry.core.network.PacketRegistryDummy;
import forestry.core.utils.Log;
public abstract class ForestryPlugin {
@@ -108,8 +110,8 @@ public abstract class ForestryPlugin {
public void populateChunkRetroGen(World world, Random rand, int chunkX, int chunkZ) {
}
public void registerPacketHandlers() {
public IPacketRegistry getPacketRegistry() {
return PacketRegistryDummy.instance;
}
public IPickupHandler getPickupHandler() {