diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Features.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java (renamed from src/main/java/at/hannibal2/skyhanni/config/features/Misc.java) | 17 |
2 files changed, 16 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index 9d63c9b37..a680c806d 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -125,7 +125,7 @@ public class Features extends Config { @Expose @Category(name = "Misc", desc = "Settings without a category.") - public Misc misc = new Misc(); + public MiscConfig misc = new MiscConfig(); @Expose @Category(name = "Dev", desc = "Debug and test stuff. Developers are cool.") diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index fc20fa862..43af8f090 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -10,7 +10,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -public class Misc { +public class MiscConfig { @Expose @ConfigOption(name = "Pet", desc = "") @@ -491,7 +491,7 @@ public class Misc { @Expose @ConfigOption(name = "Frozen Treasure Tracker", desc = "") @Accordion - public Misc.FrozenTreasureTracker frozenTreasureTracker = new Misc.FrozenTreasureTracker(); + public MiscConfig.FrozenTreasureTracker frozenTreasureTracker = new MiscConfig.FrozenTreasureTracker(); public static class FrozenTreasureTracker { @@ -576,6 +576,19 @@ public class Misc { } @Expose + @ConfigOption(name = "Mining", desc = "") + @Accordion + public MiningConfig mining = new MiningConfig(); + public static class MiningConfig { + + @Expose + @ConfigOption(name = "Highlight Commission Mobs", desc = "Highlight Mobs that are part of active commissions.") + @ConfigEditorBoolean + public boolean highlightCommissionMobs = false; + + } + + @Expose @ConfigOption(name = "Exp Bottles", desc = "Hides all the experience orbs lying on the ground.") @ConfigEditorBoolean public boolean hideExpBottles = false; |