Skip to content

Commit

Permalink
Fix NPE when creating room token (#6281)
Browse files Browse the repository at this point in the history
  • Loading branch information
tool4ever authored Oct 12, 2024
1 parent 4d8e558 commit 60216dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static Card copyStats(final Card in, final Player newOwner, boolean assig
c.setSetCode(in.getSetCode());

for (final CardStateName state : in.getStates()) {
copyState(in, state, c, state);
copyState(in, state, c, state, false);
}

c.setState(in.getCurrentStateName(), false);
Expand Down
2 changes: 1 addition & 1 deletion forge-gui/res/cardsfolder/upcoming/entity_tracker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Types:Creature Human Scout
PT:2/3
K:Flash
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Enchantment.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Eerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
T:Mode$ FullyUnlock | ValidCard$ Card.Room | ValidPlayer$ You | Secondary$ True | Execute$ TrigDraw | TriggerDescription$ Eerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
T:Mode$ FullyUnlock | ValidCard$ Card.Room | ValidPlayer$ You | Secondary$ True | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Eerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
SVar:TrigDraw:DB$ Draw
DeckNeeds:Type$Enchantment
Oracle:Flash\nEerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.

0 comments on commit 60216dc

Please sign in to comment.