Skip to content

Spigot & Paper class name mismatches for EnumChatVisibility #2926

@0utplay

Description

@0utplay
  • This issue is not solved in a development build

Describe the bug
Some of the enum wrapper classes on spigot servers do not match the names on paper servers.
One example I stumbled upon is EnumChatVisibility (spigot) & ChatVisibility (paper)

To Reproduce
Start a paper (1.20.6) server with the latest protocollib build.
Use any EnumWrapper (causes the init)

Expected behavior
Support for both spigot & paper

Screenshots
Spigot:
image
Paper:
image

The issue I noticed:
image

Version Info
https://pastebin.com/z13YdYad

Additional context
I'm willing to do some work on this. Just wanted to ask if there already are solutions for this or any approaches you would like to do in order to resolve the issue. I think there might be many more cases like the mentioned one.

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