Error when using WindCharge in Minecraft 1.21 with WorldGuard (NoSuchMethodError for getExplosionResult)
BitholSatapathy opened this issue ยท 0 comments
WorldEdit Version
2.11.2
WorldGuard Version
7.0.12 mc1.21+
Platform Version
paper-1.21
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of WorldGuard compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
When using the WindCharge item in Minecraft 1.21 (with Paper and WorldGuard v7.0.12), an error occurs when the WindCharge explodes. The error is related to WorldGuard attempting to use the method getExplosionResult, which does not exist in this version of the Paper API, causing a NoSuchMethodError.
Expected Behavior
The WindCharge should trigger an explosion without causing errors in the console. WorldGuard should manage explosion events correctly, allowing them to either be blocked or allowed based on region flags.
Reproduction Steps
1.Enable WorldGuard on the server with default or custom region settings.
2.Use a WindCharge item in-game and let it explode near blocks or entities.
3.Observe the server console for the following error
message.txt
Optional WorldGuard-Report
No response
Anything Else?
No response