End Crystal explosion gets fully cancelled even if a small part of the explosion affects a protected area
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 62/100
Research direction
The report isolates the other-explosion flag: End Crystal explosions are cancelled whole when any block inside a denying region is hit, while TNT and Respawn Anchor explosions are not. Start by finding where the flag is checked for explosions and compare the End Crystal path with the others. Done means blocks outside the protected region still break, protected blocks stay intact, and the reproduction steps in the issue behave as expected.
Written by the indexing model from the issue text.
Description
WorldEdit Version
7.4.6
WorldGuard Version
7.0.20
Platform Version
Paper 26.3 Build 231
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
Unlike other explosions (TNT, Respawn Anchor, etc.), an End Crystal explosion will be completely cancelled if it effects just 1 block inside a region with the other-explosion flag set to deny even if it is exploded outside that region.
Expected Behavior
Explosion should still affect blocks in unprotected regions.
Reproduction Steps
- Create a region and set the
other-explosionflag todenyfor that region. - Place some blocks inside that region.
- Place an end crystal outside that region in a way it would destroy the placed blocks.
- Explode the end crystal and see it be cancelled.
- Place another end crystal far from the protected region and explode it and it will not be cancelled even tho both end crystals where placed outside the protected region just 1 affected the protected region.
Optional WorldGuard-Report
No response
Anything Else?
No response
- Dominant language
- Java
- Stars
- 944
- Forks
- 686
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/WorldGuard
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EngineHub/WorldGuard#2334 ·
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
EngineHub/WorldGuard#2332 ·
-
status:invalid type:bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
EngineHub/WorldGuard#2333 · 1 comment · 1 reaction ·
-
status:pending type:feature-request
Difficulty 3/5 1-2 days Newbie friendliness 54/100
EngineHub/WorldGuard#2320 ·
-
status:upstream type:bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
EngineHub/WorldGuard#2314 · 6 comments ·
All issues in EngineHub/WorldGuard
Similar issues
-
component/data-layer
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
RegistryExceptionHandler uses self-referencing basePackageClasses instead of a controller classOpenbug finsim-registry good-first-issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
? - Needs Triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
NVIDIA/cudf-spark#17063 ·
Maintainers usually reply within 2 days
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100