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

Use Plugin instead of JavaPlugin in Bukkit Metrics constructor #121

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

2008Choco
Copy link
Contributor

Plugin is an abstract base type for all plugin types supported by the Bukkit plugin loading API. Specifically requiring JavaPlugin forces 3rd party plugin loaders such as PyPlugins to use older versions of bStats because they cannot pass instances of PythonPlugin. JavaPlugin isn't strictly required for the Metrics class and even has a Plugin field so this change is rather harmless but allows plugin loaders to still use bStats.

@Bastian
Copy link
Owner

Bastian commented Jul 28, 2024

Thank you and sorry for the late merge!

@Bastian Bastian merged commit a4eaa75 into Bastian:master Jul 28, 2024
@2008Choco 2008Choco deleted the javaplugin-to-plugin branch July 28, 2024 18:10
@2008Choco
Copy link
Contributor Author

No worries :) better late than never!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants