Skip to content

Conversation

@DerEchtePilz
Copy link
Member

This fixes #473

DerEchtePilz and others added 7 commits October 7, 2023 15:26
Yes, I should have committed this to dev/dev, but I'm hoping that we can merge dev/rgb-errors to dev/dev soon enough that this will be relevant. This seems to have been a new change introduced in Spigot here: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/67a52a64854b21060cfd6eb7ca8bb7c2cdf02d1b#src/main/java/org/bukkit/craftbukkit/CraftParticle.java
I honestly DO NOT know why this fix works and why this doesn't work with the original code. I've stared at bytecode for ages and haven't cracked it. I think we'll just end up spending so much time staring at this nonsense that it's not going to be worth anyone's time, even from a Java learning perspective. My current theory is it's probably a funky bug in Java's compiler or something. Who knows.
@JorelAli
Copy link
Member

Global changelog entry?

Co-authored-by: willkroboth <46540330+willkroboth@users.noreply.github.com>
@DerEchtePilz DerEchtePilz merged commit 4287390 into dev/dev Nov 23, 2023
@willkroboth willkroboth linked an issue Nov 23, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

CustomArgumentException fromString doesn't support rgb

4 participants