- Changed == to equals().

This commit is contained in:
Jeff 2017-04-19 15:05:23 -05:00
parent ad3e5749f5
commit c5b3975700

View file

@ -117,7 +117,7 @@ class SoulScarMageDamageReplacementEffect extends ReplacementEffectImpl {
UUID sourceControllerId = game.getControllerId(event.getSourceId());
UUID targetControllerId = game.getControllerId(event.getTargetId());
UUID controllerId = source.getControllerId();
boolean weControlSource = controllerId == sourceControllerId;
boolean weControlSource = controllerId.equals(sourceControllerId);
boolean opponentControlsTarget = game.getOpponents(sourceControllerId).contains(targetControllerId);
boolean isNoncombatDamage = !((DamageCreatureEvent) event).isCombatDamage();
return weControlSource