aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt
index ef9bd1e75..930c67358 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt
@@ -65,7 +65,10 @@ object DefaultConfigFeatures {
}
}
.filter { (_, filteredOptions) -> filteredOptions.isNotEmpty() }
-
+ if (optionList.isEmpty()) {
+ LorenzUtils.chat("There are no new options to configure between $old and $new")
+ return
+ }
SkyHanniMod.screenToOpen = DefaultConfigOptionGui(optionList, old, new)
}