WorldGuard icon indicating copy to clipboard operation
WorldGuard copied to clipboard

Denying ghast-fireball prevents wind charges from working

Open LenderSchlender opened this issue 7 months ago • 0 comments

WorldEdit Version

WorldEdit 7.3.4 Beta 1

WorldGuard Version

7.0.11-beta1

Platform Version

Paper 1.21 Build 40

Confirmations

  • [X] I am using the most recent Minecraft release.
  • [X] I am using a version of WorldEdit compatible with my Minecraft version.
  • [X] I am using a version of WorldGuard compatible with my Minecraft version.
  • [X] I am using the latest or recommended version of my platform software.
  • [X] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • [X] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Setting the ghast-fireball flag to Deny in a region causes this region to also block wind charges.

Expected Behavior

Wind charges should not be affected by the ghast-fireball flag.

Reproduction Steps

  1. Set the ghast-fireball flag to Deny
  2. Attempt to use a wind charge This issue also occurs with Breezes

Optional WorldGuard-Report

No response

Anything Else?

I suspect this issue occurs because AbstractWindCharge extends the Fireball interface, which is being used by WorldGuard to detect Ghast fireball explosions in the onEntityExplode method of the WorldGuardEntityListener.

LenderSchlender avatar Jul 01 '24 17:07 LenderSchlender