End Crystal explosion gets fully cancelled even if a small part of the explosion affects a protected area

未关闭
#2,323 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@Almost10 已经在做这个了。

开始于 2026年11月2日。

  • #2326 来自 @Almost10 —— 未关闭

评估

难度
3/5
预计耗时
半天
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
java
领域
security

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

status:pending type:bug
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
  1. Create a region and set the other-explosion flag to deny for that region.
  2. Place some blocks inside that region.
  3. Place an end crystal outside that region in a way it would destroy the placed blocks.
  4. Explode the end crystal and see it be cancelled.
  5. 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

主要语言
Java
星标
944
派生
686
平均合并
4 天 7 小时
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EngineHub/WorldGuard 的其他 Issue

查看 EngineHub/WorldGuard 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。