Skip to content

v1.3.9

Compare
Choose a tag to compare
@retrooper retrooper released this 03 Jul 16:32
· 1109 commits to master since this release

Note: ONLY TESTED ON 1.8

  • PacketReceiveEvent#getPacketId() added
    *PacketType comparing packets should no longer be done with strings, instead with int IDs
    Example:
if(PacketReceiveEvent#getPacketId() == PacketType.Client.ARM_ANIMATION)
  • Comparing with int ids only finished for client side (serverbound) packets, server side support coming soon
  • PacketEvents should be it is started.
    It is recommended to load it in the onLoad() function in your main class, ONLY load if you are not using the packetevents jar.

How to load packetevents

PacketEvents.load()

How to start packetevents

PacketEvents.start(plugin);