mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Removed obsolete null checks.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user