mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +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)) {
|
||||
if (!playable.contains(ability) && canPlay(ability, available, game)) {
|
||||
if (!playable.contains(ability.getSourceId()) && canPlay(ability, available, game)) {
|
||||
playable.add(card.getId());
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue