mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Keen-Eyed Curator - fixed game error on usage in deck (also fixed Gustha's Scepter, Eater of Virtue, Death-Mask Duplicant);
This commit is contained in:
parent
a827a93cf2
commit
141a4e5437
5 changed files with 27 additions and 26 deletions
|
|
@ -1495,7 +1495,7 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement
|
|||
*/
|
||||
public void assertExileZoneCount(String exileZoneName, int count) throws AssertionError {
|
||||
ExileZone exileZone = currentGame.getExile().getExileZone(CardUtil.getExileZoneId(exileZoneName, currentGame));
|
||||
int actualCount = exileZone.getCards(currentGame).size();
|
||||
int actualCount = exileZone == null ? 0 : exileZone.getCards(currentGame).size();
|
||||
|
||||
Assert.assertEquals("(Exile \"" + exileZoneName + "\") Card counts are not equal.", count, actualCount);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue