diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-08-26 01:06:17 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-08-26 01:06:17 +0200 |
commit | fe0770027bd09c22c3399ee3abf02c530ebc49ec (patch) | |
tree | 77bf82754bef5fe541ed312d4c820a5aeeb21c86 /src/main/java/at/hannibal2 | |
parent | 560af1582429c4a0efd588820e9a273879b1e098 (diff) | |
download | skyhanni-fe0770027bd09c22c3399ee3abf02c530ebc49ec.tar.gz skyhanni-fe0770027bd09c22c3399ee3abf02c530ebc49ec.tar.bz2 skyhanni-fe0770027bd09c22c3399ee3abf02c530ebc49ec.zip |
fix crash on startup
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java index 010434990..386aa7021 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorText; import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; @@ -157,15 +158,14 @@ public class HoppityEggsConfig { @Expose @ConfigOption(name = "Compacted Rarity", desc = "Show rarity of found rabbit in Compacted chat messages.") - @ConfigEditorBoolean - @FeatureToggle + @ConfigEditorDropdown public CompactRarityTypes rarityInCompact = CompactRarityTypes.NEW; public enum CompactRarityTypes { NONE("Neither"), NEW("New Rabbits"), DUPE("Duplicate Rabbits"), - BOTH("New & Duplicate Rabbits") + BOTH("New & Duplicate Rabbits"), ; private final String name; |