mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
* Fixed a bug in getPlayableInHand().
This commit is contained in:
parent
e8edf39f51
commit
4efb832b8d
1 changed files with 1 additions and 1 deletions
|
@ -1996,7 +1996,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
|
for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
|
||||||
if (!playable.contains(ability) && canPlay(ability, available, game)) {
|
if (!playable.contains(ability.getSourceId()) && canPlay(ability, available, game)) {
|
||||||
playable.add(card.getId());
|
playable.add(card.getId());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue