From fe0770027bd09c22c3399ee3abf02c530ebc49ec Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 26 Aug 2024 01:06:17 +0200 Subject: fix crash on startup --- .../hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2') 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; -- cgit