Paper 1.19.3 casts plugins to JavaPlugin on enable, even though other plugins should be allowed as well
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
Other plugins (based on PluginBase for example) would also be loaded
Observed/Actual behavior
Paper casts all plugins to JavaPlugin on the PaperPluginInstanceManager class' enablePlugin function, resulting other types of plugins implemented on PluginBase not be able to load anymore.
Steps/models to reproduce
Download latest PaperMC 1.19.3 version.
Download CraftJS https://github.com/raikasdev/craftjs/releases/tag/1.19.3-broken
Start server
Plugin and Datapack List
CraftJS
Paper version
This server is running Paper version git-Paper-431 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: e574412)
Other
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the PaperPluginInstanceManager class, specifically enablePlugin, and reproduce the failure with CraftJS 1.19.3-broken on Paper git-Paper-431. Confirm that plugin implementations based on PluginBase can load and enable without the reported cast failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100