com.comphenix.protocol.reflect.FieldAccessException: No field with type net.minecraft.server.v1_16_R1.DimensionManager exists in class PacketPlayOutRespawn.
MrKorvic opened this issue ยท 1 comments
Describe the bug
When attempting to play the respawn packet to a player, ProtocolLib fails to find the v1_16_R1 DimensionManager field.
To Reproduce
Steps to reproduce the behavior:
- Get ProtocolManager
- Create a PacketContainer with PacketType.Play.Server.RESPAWN
- Write data to the packet's dimensions using packet#getDimensions#write. This can even be done using the player's current WorldEnvironment ID and a fieldIndex of 0.
- Observe FieldAccessException in the console.
Expected behavior
Should set the packet's dimension to the one provided.
Screenshots
https://i.imgur.com/M4JcJdP.png
https://i.imgur.com/VaqqBlJ.png
Version Info
https://pastebin.com/8xJL2Ctd