-
-
Notifications
You must be signed in to change notification settings - Fork 69
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.NoSuchFieldError: Class net.minecraft.server.MinecraftServer does not have member field 'net.minecraft.commands.Commands vanillaCommandDispatcher'
after upgrading to Paper-1.20.6-b68
#554
Comments
Yeah, definitely caused by Paper‘s Brigadier PR; until we have a (hot)fix it might be best to stay on build 64 |
@globau |
One of my users also ran into this problem. This is the full exception: https://pastes.dev/JDnzZIMiXs |
Thanks! I currently have a hotfix on |
This is now hotfixed in snapshot version 9.5.0-SNAPSHOT |
Any plans on when (no need to hurry, just to know, hope it isn't a month 💀) |
CommandAPI 9.5.0-SNAPSHOT is shaded as a workaround for CommandAPI/CommandAPI#554 (comment)
Hotfix has been published to CommandAPI 9.4.2. For all intents and purposes, this should now be fixed for paper builds 64+ |
…tegy` Just a rough example implementation `NMS#getResourceDispatcher` replaced by `NMS#createCommandRegistrationStrategy`, which creates a `SpigotCommandRegistration` implementation using the resources dispatcher Alternate fix for #554. If we're on Paper-1.20.6-65, a `PaperCommandRegistration` implementation is used instead. This can be used to properly handle the internal changes made by PaperMC/Paper#8235.
…tegy` Just a rough example implementation `NMS#getResourceDispatcher` replaced by `NMS#createCommandRegistrationStrategy`, which creates a `SpigotCommandRegistration` implementation using the resources dispatcher Alternate fix for #554. If we're on Paper-1.20.6-65, a `PaperCommandRegistration` implementation is used instead. This can be used to properly handle the internal changes made by PaperMC/Paper#8235.
…tegy` Just a rough example implementation `NMS#getResourceDispatcher` replaced by `NMS#createCommandRegistrationStrategy`, which creates a `SpigotCommandRegistration` implementation using the resources dispatcher Alternate fix for #554. If we're on Paper-1.20.6-65, a `PaperCommandRegistration` implementation is used instead. This can be used to properly handle the internal changes made by PaperMC/Paper#8235.
CommandAPI version
9.4.0
Minecraft version
1.20.6
Are you shading the CommandAPI?
Yes
What I did
What actually happened
All plugins using CommaAPI fail to load
What should have happened
Business as usual
Server logs and CommandAPI config
Other
Downgrading to Paper-1.20.6-b62 fixed the issue.
Probably caused by PaperMC/Paper#8235
ps. your issue template doesn't have mc v1.20.6.
The text was updated successfully, but these errors were encountered: