diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-15 13:41:57 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-15 13:41:57 +0200 |
commit | e07c1db5719bf675da0c5ea8b122f9e56de347f6 (patch) | |
tree | a7662910f1b5eb541879f3c3de312bf8f524382a | |
parent | 7ccc7c7ca5e6323a44694adadb8f6f3b77a687ba (diff) | |
download | skyhanni-e07c1db5719bf675da0c5ea8b122f9e56de347f6.tar.gz skyhanni-e07c1db5719bf675da0c5ea8b122f9e56de347f6.tar.bz2 skyhanni-e07c1db5719bf675da0c5ea8b122f9e56de347f6.zip |
code cleanup
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Features.java | 13 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/dungeon/DungeonDeathCounter.kt | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index 252b456d7..4d81e8f01 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -42,7 +42,7 @@ public class Features { } if (runnableId.equals("dungeonDeathCounter")) { - editOverlay(activeConfigCategory, 200, 16, dungeon.deathCounterDisplay); + editOverlay(activeConfigCategory, 200, 16, dungeon.deathCounterPos); return; } @@ -167,7 +167,7 @@ public class Features { @Expose @ConfigOption(name = "Death Counter Position", desc = "") @ConfigEditorButton(runnableId = "dungeonDeathCounter", buttonText = "Edit") - public Position deathCounterDisplay = new Position(10, 10, false, true); + public Position deathCounterPos = new Position(10, 10, false, true); @Expose @ConfigOption(name = "Clean End", desc = "Hide entities and particles after the boss in Floor 1 - 6 has died.") @@ -223,16 +223,15 @@ public class Features { public boolean displayPetLevel = false; @Expose - @ConfigOption(name = "Sack Name", desc = "Show an abbreviation of the Sack name.") + @ConfigOption(name = "Minion Tier", desc = "Show the Minion Tier over Items.") @ConfigEditorBoolean @ConfigAccordionId(id = 2) - public boolean displaySackName = false; + public boolean displayMinionTier = false; @Expose - @ConfigOption(name = "Minion Tier", desc = "Show the Minion Tier over Items.") + @ConfigOption(name = "Sack Name", desc = "Show an abbreviation of the Sack name.") @ConfigEditorBoolean - @ConfigAccordionId(id = 2) - public boolean displayMinionTier = false; + public boolean displaySackName = false; @Expose @ConfigOption(name = "Ability Cooldown", desc = "Show the cooldown of item abilities.") diff --git a/src/main/java/at/hannibal2/skyhanni/dungeon/DungeonDeathCounter.kt b/src/main/java/at/hannibal2/skyhanni/dungeon/DungeonDeathCounter.kt index 521dbeb6d..eae6535da 100644 --- a/src/main/java/at/hannibal2/skyhanni/dungeon/DungeonDeathCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/dungeon/DungeonDeathCounter.kt @@ -88,7 +88,7 @@ class DungeonDeathCounter { fun renderOverlay(event: RenderGameOverlayEvent.Post) { if (!isEnabled()) return - SkyHanniMod.feature.dungeon.deathCounterDisplay.renderString(DungeonMilestoneDisplay.color + textToRender) + SkyHanniMod.feature.dungeon.deathCounterPos.renderString(DungeonMilestoneDisplay.color + textToRender) } private fun isEnabled(): Boolean { |