fixed an NPE issue
@@ -440,8 +440,10 @@ class CustomTestCard extends CardImpl {
}
static void addAdditionalSubtypes(String cardName, SubType... subtypes) {
+ if(subtypes!=null) {
subTypesList.computeIfAbsent(cardName, s -> new HashSet<>()).addAll(Arrays.asList(subtypes.clone()));
}
+ }
static void clearAdditionalSubtypes(String cardName) {
subTypesList.remove(cardName);
