PacketPlayOutTileEntityData bug
Zdziszkee opened this issue ยท 0 comments
Protocol dump: https://pastebin.com/kRGMmx3f
When I create PacketContainer for PacketTileEntityData like this PacketContainer signData = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.TILE_ENTITY_DATA);
and then try to access it's field like this NbtCompound signNBT = (NbtCompound) signData.getNbtModifier().read(2); which should return me a NBTTagCompound it throws error there is no such field:
Caused by: com.comphenix.protocol.reflect.FieldAccessException: No field with type net.minecraft.server.v1_8_R3.NBTBase exists in class PacketPlayOutBed.
The strangest thing is it's point to PacketPlayOutBed when I was working with tile entity data packet...