mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Removed unnecessary RuntimeException in getUnlockableEditions.
This commit is contained in:
@@ -140,12 +140,9 @@ public class QuestUtilUnlockSets {
|
||||
for (CardEdition ex : excludedSets) {
|
||||
switch (ex.getType()) {
|
||||
case CORE: case EXPANSION: case REPRINT: case STARTER: break;
|
||||
case OTHER: case UNKNOWN:
|
||||
// don't add non-traditional sets
|
||||
continue;
|
||||
|
||||
default:
|
||||
throw new RuntimeException("unhandled card edition type: " + ex.getType());
|
||||
// don't add non-traditional sets
|
||||
continue;
|
||||
}
|
||||
long distance = Integer.MAX_VALUE;
|
||||
for (CardEdition in : allowedSets) {
|
||||
|
||||
Reference in New Issue
Block a user