Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Paper not detected sometimes #4386

Open
LoneDev6 opened this issue Feb 3, 2025 · 1 comment
Open

Fix Paper not detected sometimes #4386

LoneDev6 opened this issue Feb 3, 2025 · 1 comment
Labels
env: paper type: bug Something isn't working type: paper bug A bug of Paper Spigot fork.
Milestone

Comments

@LoneDev6
Copy link
Collaborator

LoneDev6 commented Feb 3, 2025

Paper is not detected anymore because the removal of the class I used to check to identify if it is Paper.

@LoneDev6 LoneDev6 converted this from a draft issue Feb 3, 2025
@LoneDev6 LoneDev6 added this to the 4.0.8 milestone Feb 3, 2025
@LoneDev6 LoneDev6 added type: bug Something isn't working type: paper bug A bug of Paper Spigot fork. env: paper labels Feb 3, 2025
@Andre601
Copy link
Collaborator

Andre601 commented Feb 3, 2025

I personally suggest to look for the BuildInfo class and if found utilize that.
It provides useful info, including the server type (brand), which could allow a more accurate server type detection.

If it isn't there, chances are high it's Spigot or a Spigot fork (or in other cases an older version of Paper before the BuildInfo implementation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env: paper type: bug Something isn't working type: paper bug A bug of Paper Spigot fork.
Projects
Status: Done
Development

No branches or pull requests

2 participants