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

java.lang.IncompatibleClassChangeError: Method 'org.bukkit.Sound org.bukkit.Sound.valueOf(java.lang.String)' must be Methodref constant #157

Open
MemencioPerez opened this issue Dec 1, 2024 · 0 comments · May be fixed by #158 or #159

Comments

@MemencioPerez
Copy link
Contributor

I am seeing this error since I tried to use the latest development version (DeluxeMenus-1.14.1-DEV-PR--abd23c94.jar). I think it may be due to the change of the org.bukkit.Sound class type from Enum to Interface.

[01Dec2024 01:19:32.853] [Server thread/WARN] [DeluxeMenus/]: Task #6971 for DeluxeMenus v1.14.1-DEV-PR--abd23c94 generated an exception
java.lang.IncompatibleClassChangeError: Method 'org.bukkit.Sound org.bukkit.Sound.valueOf(java.lang.String)' must be Methodref constant
	at com.extendedclip.deluxemenus.action.ClickActionTask.run(ClickActionTask.java:363) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[arclight:arclight-1.16.5-1.0.26-SNAPSHOT-5c6b7953]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftSchedulerMixin.java:400) ~[arclight:arclight-1.16.5-1.0.26-SNAPSHOT-5c6b7953]
	at net.minecraft.server.MinecraftServer.handler$bcc000$arclight$runScheduler(MinecraftServerMixin.java:2160) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServerMixin.java) ~[?:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServerMixin.java:291) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServerMixin.java:787) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServerMixin.java:1917) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServerMixin.java:232) ~[?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant