mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
added check on reveal list size
This commit is contained in:
@@ -1082,7 +1082,7 @@ public final class AbilityFactoryChangeZone {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (params.containsKey("Reveal")) {
|
||||
if (params.containsKey("Reveal") && !reveal.isEmpty()) {
|
||||
GuiUtils.chooseOne(card + " - Revealed card: ", reveal.toArray());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user