- Removed obsolete null checks.

This commit is contained in:
Sloth
2012-10-29 10:16:20 +00:00
parent ffd85cb1c8
commit abfd526ede
2 changed files with 4 additions and 9 deletions

View File

@@ -1660,10 +1660,7 @@ public final class AbilityFactoryChangeZone {
}
}
if (tgt != null) {
tgt.resetTargets();
}
tgt.resetTargets();
List<Card> list = CardLists.getValidCards(Singletons.getModel().getGame().getCardsIn(origin), tgt.getValidTgts(), ai, source);
if (params.containsKey("AITgts")) {
list = CardLists.getValidCards(list, params.get("AITgts"), sa.getActivatingPlayer(), source);

View File

@@ -1297,11 +1297,9 @@ public abstract class Player extends GameEntity implements Comparable<Player> {
}
}
if (game != null) {
this.setLastDrawnCard(c);
c.setDrawnThisTurn(true);
this.numDrawnThisTurn++;
}
this.setLastDrawnCard(c);
c.setDrawnThisTurn(true);
this.numDrawnThisTurn++;
// Miracle draws
if (this.numDrawnThisTurn == 1) {