mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Include weird zones in forEachCardInGame
This commit is contained in:
@@ -744,7 +744,7 @@ public class Game {
|
|||||||
if (!visitor.visitAll(player.getZone(ZoneType.Exile).getCards())) {
|
if (!visitor.visitAll(player.getZone(ZoneType.Exile).getCards())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!visitor.visitAll(player.getZone(ZoneType.Command).getCards())) {
|
if (!visitor.visitAll(player.getCardsIn(ZoneType.PART_OF_COMMAND_ZONE))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (withSideboard && !visitor.visitAll(player.getZone(ZoneType.Sideboard).getCards())) {
|
if (withSideboard && !visitor.visitAll(player.getZone(ZoneType.Sideboard).getCards())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user