mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Clean up packet registration code
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user