Add missing negation. Fixes #1101
This commit is contained in:
parent
20889576ab
commit
0802c3367f
@ -1200,7 +1200,7 @@ public class EngineMain extends Engine
|
|||||||
public void blockExplosion(EntityDamageEvent event)
|
public void blockExplosion(EntityDamageEvent event)
|
||||||
{
|
{
|
||||||
// If an explosion damages ...
|
// 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 ...
|
// ... an entity that is modified on damage ...
|
||||||
if ( ! MConf.get().entityTypesEditOnDamage.contains(event.getEntityType())) return;
|
if ( ! MConf.get().entityTypesEditOnDamage.contains(event.getEntityType())) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user