diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-23 18:59:27 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-23 18:59:27 +0100 |
commit | 54aba6cbdd46da9f4c9d064382c0f487d06e3c0b (patch) | |
tree | f04b4147b96fa9fb7539a281bc447cdc313551df /src/main/java | |
parent | f307d45a23a319fb48c3af8c7fbd657e07df78b4 (diff) | |
download | skyhanni-54aba6cbdd46da9f4c9d064382c0f487d06e3c0b.tar.gz skyhanni-54aba6cbdd46da9f4c9d064382c0f487d06e3c0b.tar.bz2 skyhanni-54aba6cbdd46da9f4c9d064382c0f487d06e3c0b.zip |
fill deskPlotStatusTypes with default list
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotMenuHighlightingConfig.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotMenuHighlightingConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotMenuHighlightingConfig.java index acf10ec5d..5918168e4 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotMenuHighlightingConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotMenuHighlightingConfig.java @@ -8,6 +8,7 @@ import io.github.moulberry.moulconfig.annotations.ConfigEditorDraggableList; import io.github.moulberry.moulconfig.annotations.ConfigOption; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; public class PlotMenuHighlightingConfig { @@ -20,13 +21,18 @@ public class PlotMenuHighlightingConfig { @Expose @ConfigOption(name = "Statuses", desc = "Change which statuses are enabled, and the hierarchy of them.") @ConfigEditorDraggableList - public List<PlotStatusType> deskPlotStatusTypes = new ArrayList<>(); + public List<PlotStatusType> deskPlotStatusTypes = new ArrayList<>(Arrays.asList( + PlotStatusType.CURRENT, + PlotStatusType.PESTS, + PlotStatusType.SPRAYS, + PlotStatusType.LOCKED + )); public enum PlotStatusType { PESTS("§cPests", LorenzColor.RED), SPRAYS("§eSprays", LorenzColor.YELLOW), LOCKED("§7Locked", LorenzColor.DARK_GRAY), - CURRENT("§aCurrent plot", LorenzColor.GREEN) + CURRENT("§aCurrent plot", LorenzColor.GREEN), ; public final String name; |