mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
fixed Covetous Urge not allowing the exiled card to be cast
This commit is contained in:
parent
c4aebb49db
commit
56ede98b03
1 changed files with 3 additions and 4 deletions
|
@ -127,12 +127,11 @@ 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)) {
|
||||
if (card == null) {
|
||||
discard();
|
||||
return false;
|
||||
}
|
||||
discard();
|
||||
return false;
|
||||
return source.isControlledBy(affectedControllerId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue