Skip to content
Permalink
Browse files

Fixed a bug causing parasites to fall off of players but not other li…

…ving entities.
  • Loading branch information...
Ri5ux committed Mar 13, 2019
1 parent 724220b commit b37d4f3cf0789e89af0427a7af6528ab955da105
@@ -13,6 +13,7 @@
import org.avp.packets.server.OrganismServerSync;
import org.avp.packets.server.PacketAddTuretTarget;
import org.avp.packets.server.PacketAssemble;
import org.avp.packets.server.PacketAttachParasiteToEntity;
import org.avp.packets.server.PacketBlastdoorCommon;
import org.avp.packets.server.PacketBlastdoorCommon.PacketBlastdoorClient;

@@ -54,6 +55,7 @@ public NetworkHandler()
@Override
public void init(FMLInitializationEvent event)
{
/** Send to the server **/
this.registerMessage(Side.SERVER, PacketAssemble.class);
this.registerMessage(Side.SERVER, PacketOpenContainer.class);
this.registerMessage(Side.SERVER, PacketReloadFirearm.class);
@@ -71,6 +73,8 @@ public void init(FMLInitializationEvent event)
this.registerMessage(Side.SERVER, OrganismServerSync.class);
this.registerMessage(Side.SERVER, SpecialPlayerServerSync.class);
this.registerMessage(Side.SERVER, PacketBlastdoorCommon.class);

/** Send to the client **/
this.registerMessage(Side.CLIENT, PacketTurretTargetUpdate.class);
this.registerMessage(Side.CLIENT, PacketOvamorphContainsFacehugger.class);
this.registerMessage(Side.CLIENT, PacketAmmoUpdate.class);
@@ -84,6 +88,7 @@ public void init(FMLInitializationEvent event)
this.registerMessage(Side.CLIENT, PacketSyncRF.class);
this.registerMessage(Side.CLIENT, PacketOpenGui.class);
this.registerMessage(Side.CLIENT, PacketBlastdoorClient.class);
this.registerMessage(Side.CLIENT, PacketAttachParasiteToEntity.class);
}

/**
Oops, something went wrong.

0 comments on commit b37d4f3

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.