From e07c1db5719bf675da0c5ea8b122f9e56de347f6 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Fri, 15 Jul 2022 13:41:57 +0200 Subject: code cleanup --- src/main/java/at/hannibal2/skyhanni/config/Features.java | 13 ++++++------- .../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 { -- cgit