Split the proxy from the rest

This commit is contained in:
Elec332 committed 2017-05-12 21:57:54 +02:00
1 parent 2c45413a6b
commit 60607354dd
26 files changed
+296 -170

No files matched your search

@@ -59,6 +59,10 @@ public abstract class AbstractMod implements IPacketProvider, IInitializable {
protected abstract Class<? extends BinniePacketHandler> getPacketHandler();
public Object getMod(){
return this;
}
@Override
public void preInit() {
getProxy().setMod(this);