- Removed unnecessary RuntimeException in getUnlockableEditions.

This commit is contained in:
Sloth
2013-06-14 21:38:49 +00:00
parent c12c5939c0
commit eaa5a35f47

View File

@@ -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:
default:
// don't add non-traditional sets
continue;
default:
throw new RuntimeException("unhandled card edition type: " + ex.getType());
}
long distance = Integer.MAX_VALUE;
for (CardEdition in : allowedSets) {