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