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

[Question] Can PaperShelled to be used to modify the code of other Bukkit plugins by Mixin? #6

Open
Polar-Pumpkin opened this issue Jun 30, 2023 · 0 comments

Comments

@Polar-Pumpkin
Copy link

I write a PaperShelled plugin to try it out, but I found that adding the @Dependency annotation for the Bukkit plugin I need to modify causes the PaperShelled plugin to fail to load, it shows the message Could not load 'myplugin.jar' without further information, which took me a lot of time to figure out. :(

However, if I don't depend on that Bukkit plugin, the PaperShelled plugin will show a "target class not found" error during loading (when using Mixin injection). It seems that the PaperShelled plugin is loaded much earlier than the Bukkit plugin, causing it to not find the classes from the Bukkit plugin.

This is my first time using Mixin, and I don't have any related knowledge, so I wanted to ask if there is a suitable solution. Thank you.

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

No branches or pull requests

1 participant