Skip to content

Exception in WrappedDataWatcher construction on 1.8 after ProtocolLib update #3557

@LeonTG

Description

@LeonTG
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions