* Fixed a bug in getPlayableInHand().

This commit is contained in:
LevelX2 2014-07-26 00:48:13 +02:00
parent e8edf39f51
commit 4efb832b8d

View file

@ -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;
}