mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
- Changed == to equals().
This commit is contained in:
parent
ad3e5749f5
commit
c5b3975700
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue