retrooper / packetevents

PacketEvents is emerging as a strong contender in the realm of Minecraft packet processing libraries. Designed to simplify packet manipulation while delivering high performance, this powerful tool aims to demystify the complexities of projects utilizing packets.
GNU General Public License v3.0
503 stars 144 forks source link

Packet ID: 12. Failed to encode WrapperPlayServerSpawnPlayer #304

Closed zhusun890 closed 2 years ago

zhusun890 commented 2 years ago

Describe the bug Sometimes, when the player shows up, an error occurs. For example. [20:50:18 INFO]: zhusun890 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: com.github.retrooper.packetevents.exception.PacketProcessException: PacketEvents failed to re-encode an outgoing packet with its packet wrapper. Packet ID: 12. Failed to encode WrapperPlayServerSpawnPlayer.

Software brand TacoSpigot 1_8_R3, FlameCord Build #77

Plugins ProtocolLib Latest Dev Build, Frost (Practice Core Plugin), ViaVersion and ViaRewind latest

How To Reproduce

  1. Start a match with any practice plugin (e.g. StrikePractice, PotPvP-Si, etc.)
  2. Other players are shown within your game
  3. An error occurs and the player is disconnected. (Contains some randomness)

Expected behavior None

Screenshots None

Additional context None

MWHunter commented 2 years ago

Fixed by https://github.com/retrooper/packetevents/commit/2c83f6e5a5030c9de2612b30834cb53af1cd2375