Skip to content

v1.3.5

Compare
Choose a tag to compare
@retrooper retrooper released this 25 Jun 11:36
· 1147 commits to master since this release
c0c03a0

1.3.5 RELEASE

This is the most stable version of PacketEvents I have ever released.
I recommend all of you update to this version!

Changelog:

  • TinyProtocol removed

  • API Size way smaller

  • PlayerUninjectEvent is now called

  • Version lookup methods re-added, but version lookup is only possible with ProtocolSupport or ViaVersion plugin avaialable on the server.
    If you try looking up version and none of the listed plugins could be found, you will result with ClientVersion.ACCESS_FAILURE

  • WrappedPacketOutAbilities sendable wrapper added

  • PostPlayerInjectEvent has been deprecated, please use PlayerInjectEvent

  • PlayerUninjectEvent now cancellable

  • PlayerInjectEvent or PlayerUninjectEvent cancelling, will cancel the action.

  • pom.xml version updated to 1.3.5

  • Packet class has been deprecated, please use PacketType instead!

  • Packet.isInstanceOfFlyingPacket(nmsPacket) -> PacketType.Util.isInstanceOfFlyingPacket(nmsPacket), and more instanceof functions are added in the PacketType.Util class too!

  • PacketReceiveEvent#getPacket() is deprecated, please use PacketReceiveEvent#getNMSPacket()

  • PacketSendEvent#getPacket() is deprecated, please use PacketSendEvent#getNMSPacket()

  • PacketEvents.setShouldKickOnRestart(boolean) removed