fixed Covetous Urge not allowing the exiled card to be cast
@@ -127,13 +127,12 @@ class CovetousUrgeCastFromExileEffect extends AsThoughEffectImpl {
@Override
public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) {
Card card = mor.getCard(game);
- if (card == null || !sourceId.equals(card.getId())
- || !source.isControlledBy(affectedControllerId)) {
- return false;
- }
+ if (card == null) {
discard();
return false;
}
+ return source.isControlledBy(affectedControllerId);
+ }
}
class CovetousUrgeSpendAnyManaEffect extends AsThoughEffectImpl implements AsThoughManaEffect {
