* Minor fix.
*/
package mage.cards.s;
+import java.util.UUID;
import mage.MageObject;
import mage.ObjectColor;
import mage.abilities.Ability;
@@ -52,8 +53,6 @@ import mage.target.TargetSource;
import mage.target.common.TargetCardInHand;
import mage.target.common.TargetCreatureOrPlayer;
-import java.util.UUID;
-
/**
*
* @author LevelX2
@@ -130,7 +129,7 @@ class ShiningShoalRedirectDamageTargetEffect extends RedirectDamageFromSourceToT
return false;
}
// do the 2 objects match?
- if (sourceObject.getId() != chosenSourceObject.getId()) {
+ if (!sourceObject.getId().equals(chosenSourceObject.getId())) {
return false;
}
