Add missing negation. Fixes #1101

This commit is contained in:
Olof Larsson 2016-06-10 10:28:09 +02:00
parent 20889576ab
commit 0802c3367f
No known key found for this signature in database
GPG Key ID: BBEF14F97DA52474

View File

@ -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;