Skip to content

1.8-pre-4

Pre-release
Pre-release
Compare
Choose a tag to compare
@retrooper retrooper released this 12 Feb 21:46

CHANGELOG

BUG FIXES

  • Rare concurrent modification exceptions when registering packet listeners fixed.
  • WrappedPacketOutChat bug fix when compiled on a different java version.
  • Random "lol" debug removed since last pre-release.

NEW FEATURES

  • Injection rescheduling is now toggleable. The last pre-release would re-inject when an injection failed by default. This had one down-side. PacketEvents won't be able to detect client-versions without any dependencies if it ever has to re-inject. Re-injection would usually be required if a user joined while the server was still booting up. If you don't care about client-versions, you are recommended to enable this setting. It is disabled by default FYI.
  • Registering listeners is now thread safe!
  • WrapperUnsupportedUsageException exception will be thrown whenever you attempt to use a packet-wrapper which happens to be unsupported on the local server version. Its stacktrace will explain the wrapper you attempted to use, but it won't mention what versions that wrapper is supported on. Decompile the class/view the documentation to check what versions it is supported on.

OPTIMIZATIONS

  • WrappedPacketInBlockDig optimized by @True-cc
  • WrappedPacketInBlockPlace optimized by @True-cc
  • WrappedPacketInUpdateSign optimized by @True-cc
  • Internal NMS utils cleaned up by @True-cc

CHANGES

  • You can no longer un-register packet event listeners.