Skip to content

IncompatibleClassChangeError when clicking in Banner Menu #100

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

Open
xcoolerboy opened this issue Apr 11, 2025 · 2 comments
Open

IncompatibleClassChangeError when clicking in Banner Menu #100

xcoolerboy opened this issue Apr 11, 2025 · 2 comments

Comments

@xcoolerboy
Copy link

When a player clicks on an item in the banner menu during a game, the following error is thrown in the console:

java.lang.IncompatibleClassChangeError: Method 'org.bukkit.block.banner.PatternType[] org.bukkit.block.banner.PatternType.values()' must be Methodref constant
at plugily.projects.buildbattle.handlers.menu.registry.banner.BannerMenu.prepareLayerStageGui(BannerMenu.java:107)
at plugily.projects.buildbattle.handlers.menu.registry.banner.BannerMenu.(BannerMenu.java:63)
at plugily.projects.buildbattle.handlers.menu.registry.banner.BannerMenu.(BannerMenu.java:56)
at plugily.projects.buildbattle.handlers.menu.registry.banner.BannerCreatorOption$1.onClick(BannerCreatorOption.java:52)
...

@Tigerpanzer02
Copy link
Member

Which mc version?

@xcoolerboy
Copy link
Author

1.20.4

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

2 participants