-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
CommandAPIBukkit.get().getTags() produces NoSuchMethodError in 1.20.4 #524
Comments
I have a feeling this may be due to "the limited support for the FunctionArgument" from CommandAPI 9.3.0. With CommandAPI 9.3.0, due to such a short Minecraft release cycle between version 1.20.3 and 1.20.4, in order to meet the CommandAPI's release deadline we had to release without full support for functions (and by extension, tags as well). I am not in a position to test this right now, but I believe CommandAPI 9.4.0's snapshot build fixes this. Information on using the CommandAPI's snapshot builds can be found in the CommandAPI's Discord server here, or simply change the target to the snapshot repository: repositories {
maven { url = "https://s01.oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
implementation "dev.jorel:commandapi-bukkit-shade:9.4.0-SNAPSHOT"
} If of course version 9.4.0-SNAPSHOT doesn't fix this, then this issue warrants further investigation. |
Well, I tried it with the snapshot, but I still get the same error.
|
🤦 I'm being an idiot. Of course it doesn't work - it's a mapping issue from the shared Lines 567 to 574 in 211a516
(As mentioned earlier, I'm not in a position to do this right now, but should be available after ~11 hours if nobody else fixes this themselves) |
With luck, this should now be fixed in the latest 9.4.0-SNAPSHOT build 🤞 |
Looks good on the test server. No errors. |
Fixed in version 9.4.0. |
CommandAPI version
9.3.0
Minecraft version
1.20
Are you shading the CommandAPI?
Yes
What I did
I set up a basic project to test the
CommandAPIBukkit.get().getTags();
method. See: XHawk87/CommandAPITestWhat actually happened
CommandAPI fails with NoSuchMethodError when attempting to call the method
CommandAPIBukkit.get().getTags();
What should have happened
It should have found the tags without producing an error.
Server logs and CommandAPI config
See: XHawk87/CommandAPITest
Other
No response
The text was updated successfully, but these errors were encountered: