mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix NPE
This commit is contained in:
@@ -666,7 +666,7 @@ public abstract class SpellAbilityEffect {
|
|||||||
CardZoneTable untilTable = new CardZoneTable();
|
CardZoneTable untilTable = new CardZoneTable();
|
||||||
Map<AbilityKey, Object> moveParams = AbilityKey.newMap();
|
Map<AbilityKey, Object> moveParams = AbilityKey.newMap();
|
||||||
moveParams.put(AbilityKey.LastStateBattlefield, game.copyLastStateBattlefield());
|
moveParams.put(AbilityKey.LastStateBattlefield, game.copyLastStateBattlefield());
|
||||||
moveParams.put(AbilityKey.LastStateBattlefield, game.copyLastStateGraveyard());
|
moveParams.put(AbilityKey.LastStateGraveyard, game.copyLastStateGraveyard());
|
||||||
for (Table.Cell<ZoneType, ZoneType, CardCollection> cell : triggerList.cellSet()) {
|
for (Table.Cell<ZoneType, ZoneType, CardCollection> cell : triggerList.cellSet()) {
|
||||||
for (Card c : cell.getValue()) {
|
for (Card c : cell.getValue()) {
|
||||||
// check if card is still in the until host leaves play list
|
// check if card is still in the until host leaves play list
|
||||||
|
|||||||
Reference in New Issue
Block a user