You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardEntityListener.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@
44
44
importorg.bukkit.World;
45
45
importorg.bukkit.block.Block;
46
46
importorg.bukkit.block.BlockState;
47
+
importorg.bukkit.entity.AbstractWindCharge;
47
48
importorg.bukkit.entity.ArmorStand;
48
49
importorg.bukkit.entity.Creeper;
49
50
importorg.bukkit.entity.EnderCrystal;
@@ -60,7 +61,6 @@
60
61
importorg.bukkit.entity.Projectile;
61
62
importorg.bukkit.entity.TNTPrimed;
62
63
importorg.bukkit.entity.Tameable;
63
-
importorg.bukkit.entity.WindCharge;
64
64
importorg.bukkit.entity.Wither;
65
65
importorg.bukkit.entity.WitherSkull;
66
66
importorg.bukkit.entity.Wolf;
@@ -523,7 +523,7 @@ public void onEntityExplode(EntityExplodeEvent event) {
523
523
}
524
524
}
525
525
}
526
-
} elseif (entinstanceofWindCharge) {
526
+
} elseif (entinstanceofAbstractWindCharge) {
527
527
if (wcfg.useRegions) {
528
528
for (Blockblock : event.blockList()) {
529
529
if (!WorldGuard.getInstance().getPlatform().getRegionContainer().createQuery().getApplicableRegions(BukkitAdapter.adapt(block.getLocation())).testState(null, Flags.WIND_CHARGE_BURST)) {
0 commit comments