From a38b0d75779154b49fe4efba761a8535c0db839b Mon Sep 17 00:00:00 2001 From: Cal Date: Wed, 9 Oct 2024 20:21:42 +1100 Subject: [PATCH] small formatting --- .../config/features/inventory/AttributeOverlayConfig.java | 4 ++-- .../skyhanni/features/inventory/attribute/AttributeAPI.kt | 2 +- .../skyhanni/features/inventory/attribute/AttributeOverlay.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AttributeOverlayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AttributeOverlayConfig.java index 0cf1827b030a..37144e5ef4a8 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AttributeOverlayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AttributeOverlayConfig.java @@ -20,7 +20,7 @@ public class AttributeOverlayConfig { public boolean enabled = false; @Expose - @ConfigOption(name = "Attributes Shown", desc = "List of attributes shown") + @ConfigOption(name = "Attributes Shown", desc = "List of attributes shown.") @ConfigEditorDraggableList public List attributesList = new ArrayList<>(AttributeAPI.AttributeType.getEntries()); @@ -41,7 +41,7 @@ public class AttributeOverlayConfig { "§c want to suggest changes, please do so in the discord." ) @ConfigEditorBoolean - public boolean highlightGoodrolls = true; + public boolean highlightGoodRolls = true; @Expose @ConfigOption(name = "Hide non Good Rolls", desc = "Hides attributes that are not considered good rolls.") diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeAPI.kt index 3e8040fc2873..276cbd4575b3 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeAPI.kt @@ -55,7 +55,7 @@ object AttributeAPI { FISHING_SPEED("Fishing Speed", "fishing_speed", "FS"), HUNTER("Hunter", "hunter", "HU"), TROPHY_HUNTER("Trophy Hunter", "trophy_hunter", "TH"), - UNKNOWN("Unknown", "unknown", "??") + UNKNOWN("Unknown", "unknown", "??"), ; override fun toString() = displayName diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeOverlay.kt index b7efa3fe9a30..a1963ac2b47f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeOverlay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/attribute/AttributeOverlay.kt @@ -33,7 +33,7 @@ object AttributeOverlay { val goodRoll = !config.hideNonGoodRolls || isGoodRoll inConfig && (goodRoll || isLevel) }.forEachIndexed { index, attribute -> - event.drawAttribute(attribute, isGoodRoll && config.highlightGoodrolls, index) + event.drawAttribute(attribute, isGoodRoll && config.highlightGoodRolls, index) } }