Skip to content

Commit 89b6bdc

Browse files
committed
Fix typo.
Only affected the config option, not the flag, so not too surprised it wasn't noticed earlier. https://github.com/EngineHub/WorldGuard/pull/2115/files/679b56948f41869bd545564a8c57562f157a6b66#r1878791900
1 parent 7ae07a9 commit 89b6bdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardEntityListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ public void onExplosionPrime(ExplosionPrimeEvent event) {
603603
event.setCancelled(true);
604604
return;
605605
}
606-
} else if (event instanceof AbstractWindCharge) {
606+
} else if (event.getEntity() instanceof AbstractWindCharge) {
607607
if (wcfg.blockWindChargeExplosions) {
608608
event.setCancelled(true);
609609
return;

0 commit comments

Comments
 (0)