From 0802c3367fe8ffc7be33846f7c764f039493cf18 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Fri, 10 Jun 2016 10:28:09 +0200 Subject: [PATCH] Add missing negation. Fixes #1101 --- src/com/massivecraft/factions/engine/EngineMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/engine/EngineMain.java b/src/com/massivecraft/factions/engine/EngineMain.java index 063e9958..77b343ab 100644 --- a/src/com/massivecraft/factions/engine/EngineMain.java +++ b/src/com/massivecraft/factions/engine/EngineMain.java @@ -1200,7 +1200,7 @@ public class EngineMain extends Engine public void blockExplosion(EntityDamageEvent event) { // If an explosion damages ... - if (DAMAGE_CAUSE_EXPLOSIONS.contains(event.getCause())) return; + if ( ! DAMAGE_CAUSE_EXPLOSIONS.contains(event.getCause())) return; // ... an entity that is modified on damage ... if ( ! MConf.get().entityTypesEditOnDamage.contains(event.getEntityType())) return;