PaperMC / PaperLib

Plugin Library for interfacing with Paper Specific API's with graceful fallback that maintains Spigot Compatibility, such as Async Chunk Loading.
MIT License
267 stars 32 forks source link

PaperLib 1.8 Suggest Paper #38

Closed Jaimss closed 3 years ago

Jaimss commented 3 years ago

I am using PaperLib for one of my plugins, and am using the PaperLib#suggestPaper method. Someone mentioned to me that on their 1.8 server running Paper, they were getting the suggestion to switch to paper, and I tried it out and got the same thing.

Steps to Reproduce

I am assuming that the class used just didn't exist in 1.8.8, but is there a class that does exist across all versions that could be used instead?

yannicklamprecht commented 3 years ago

It's likely that the PaperConfig wasn't located or named how it is today. So I see no problems here, especially because paperspigot isn't supported anymore. The recommendation to use Paper is perfectly fine.

theomega24 commented 3 years ago

its because 1.8 had a different class name so it can only tell it is running on a "PaperSpigot" server, not Paper