ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

Exception in WrappedDataWatcher construction on 1.8 after ProtocolLib update

Open LeonTG opened this issue 4 months ago • 0 comments

  • [x] This issue is not solved in a development build

Describe the bug I just recently upgraded from 5.1.0 to 5.4.0 on a 1.8 server, and after that update, I noticed that the error provided below started appearing

I looked into it a bit, and it seems that at some point between the 2 ProtocolLib versions, the constructor its looking for for the class net.minecraft.server.v1_8_R3.DataWatcher changed from:

Image

to:

Image

and in 1.8, the DataWatcher NMS class is only taking in the entity parameter, so after the ProtocolLib update, its looking for a constructor that didn't exist in 1.8, and thats why the error below is produced

Screenshots error code at line

Version Info https://pastebin.com/EjE6DDdK

Additional context As far as I could tell, 1.8 is still officially supported by ProtocolLib, apologies if I misunderstood that and reporting a bug for an unsupported version

LeonTG avatar Sep 16 '25 14:09 LeonTG