Changelog
• Support 1.16.3 spigot(bugs for 1.16.3 fixed)
• ClientVersion enum optimized, takes much less memory
• ClientVersion#isHigherThan(ClientVersion) and ClientVersion#isLowerThan(ClientVersion) are very cheap to call now
• ClientVersion resolving is faster
• ClientVersion.v_1_16_1 and ClientVersion.v_1_16_2 protocol version corrected (Thanks to
@LIWKK)
• ClientVersion.v_1_16_3 added
• PacketEvents.getVersion() function to get the local PacketEvents version (Thanks to
@NikV2)
• PacketEvents Update reporter added, that compares the local version to the latest RELEASED version
• Auto update reporting togglable with a setting
Code (Text):
boolean value = true;
PacketEvents.getAPI().getSettings().setShouldCheckForUpdates(value);
value = PacketEvents.getAPI().getSettings().shouldCheckForUpdates();
• Player not injecting on second join FIXED
• The netty channel cache is now functioning, we don't have to access it each time with reflection whenever we need it
• Sending packets to players should be faster as we cache the netty channel and no longer use reflection to send packets
• WrappedPacketOutCustomPayload wrapper added(supports sending to players)
• WrappedPacket fields are now cached, so reading should be faster now