From f72f800b7048c3ee9a8873ce4fb90518ec8f3443 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sat, 12 Feb 2022 13:03:39 +0800 Subject: [PATCH] Update GauntletIO - allow PaperCard.class (xstream) --- forge-gui/src/main/java/forge/gamemodes/gauntlet/GauntletIO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/forge-gui/src/main/java/forge/gamemodes/gauntlet/GauntletIO.java b/forge-gui/src/main/java/forge/gamemodes/gauntlet/GauntletIO.java index b1233c1bebe..28ca4ecca8d 100644 --- a/forge-gui/src/main/java/forge/gamemodes/gauntlet/GauntletIO.java +++ b/forge-gui/src/main/java/forge/gamemodes/gauntlet/GauntletIO.java @@ -60,6 +60,7 @@ public class GauntletIO { xStream.allowTypeHierarchy(String.class); xStream.allowTypeHierarchy(EnumMap.class); xStream.allowTypeHierarchy(ArrayList.class); + xStream.allowTypeHierarchy(PaperCard.class); xStream.allowTypeHierarchy(CardPool.class); xStream.allowTypeHierarchy(SortedSet.class); xStream.allowTypeHierarchy(Deck.class);