Prevent passing game object to client when adding card to field

This commit is contained in:
drdev
2014-10-13 02:29:42 +00:00
parent f0e75ae9bc
commit d3c3e6fe43
2 changed files with 1 additions and 2 deletions

View File

@@ -6271,7 +6271,6 @@ public class Card extends GameEntity implements Comparable<Card>, IIdentifiable
public List<SpellAbility> getAllPossibleAbilities(Player player, boolean removeUnplayable) {
// this can only be called by the Human
final List<SpellAbility> abilities = new ArrayList<SpellAbility>();
for (SpellAbility sa : getSpellAbilities()) {
//add alternative costs as additional spell abilities