Clean up some odd casts and obfuscated param names

This commit is contained in:
mezz committed 2016-10-20 23:08:28 -07:00
1 parent 507b8fa2d6
commit d06b1d6304
29 files changed
+50 -62

No files matched your search

+2 -2
View File
@@ -100,8 +100,8 @@ public abstract class AbstractMod implements IPacketProvider, IInitializable {
return;
}
this.getProxy().init();
(this.wrapper = NetworkRegistry.INSTANCE.newSimpleChannel(this.getChannel())).registerMessage((Class) this.getPacketHandler(), (Class) MessageBinnie.class, 1, Side.CLIENT);
this.wrapper.registerMessage((Class) this.getPacketHandler(), (Class) MessageBinnie.class, 1, Side.SERVER);
(this.wrapper = NetworkRegistry.INSTANCE.newSimpleChannel(this.getChannel())).registerMessage(this.getPacketHandler(), MessageBinnie.class, 1, Side.CLIENT);
this.wrapper.registerMessage(this.getPacketHandler(), MessageBinnie.class, 1, Side.SERVER);
for (final IInitializable module : this.modules) {
module.init();
}