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

Access to Sound#valueOf method through Reflection to avoid java.lang IncompatibleClassChangeError when using versions prior to 1.21.3 #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MemencioPerez
Copy link
Contributor

Seems to fix #157

…IncompatibleClassChangeError when using versions prior to 1.21.3
@Tanguygab
Copy link
Contributor

I think it'd just be better if we finally switched to the method with a String parameter for the sound, that way custom sounds can finally be used. https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Player.html#playSound(org.bukkit.Location,java.lang.String,float,float)

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