diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-04-18 22:33:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 22:33:59 +0200 |
commit | 3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d (patch) | |
tree | 293e81a8cf29314b508999975f1507b279284bc8 /src/main/java/at/hannibal2/skyhanni/config | |
parent | 9ed4a9462f0e494001cbe470477624c3dd73053a (diff) | |
download | skyhanni-3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d.tar.gz skyhanni-3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d.tar.bz2 skyhanni-3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d.zip |
Cleanup (#1485)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
4 files changed, 9 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt b/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt index 20491ce3e..4c1ca6ca1 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt @@ -148,7 +148,6 @@ class GuiPositionEditor(private val positions: List<Position>, private val borde override fun mouseClicked(originalX: Int, priginalY: Int, mouseButton: Int) { super.mouseClicked(originalX, priginalY, mouseButton) - val mouseX = Mouse.getX() * width / Minecraft.getMinecraft().displayWidth val mouseY = height - Mouse.getY() * height / Minecraft.getMinecraft().displayHeight - 1 for (i in positions.indices.reversed()) { 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 441509afd..6019f9f37 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 @@ -33,7 +33,7 @@ public class PlotMenuHighlightingConfig { SPRAYS("§6Sprays", LorenzColor.GOLD), LOCKED("§7Locked", LorenzColor.DARK_GRAY), CURRENT("§aCurrent plot", LorenzColor.GREEN), - PASTING("§ePasting", LorenzColor.YELLOW) + PASTING("§ePasting", LorenzColor.YELLOW), ; public final String name; diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java index 2ea448148..f3cafae08 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java @@ -60,7 +60,7 @@ public class RewardWarningConfig { @ConfigOption( name = "Coins Per Copper", desc = "The price to use for the below options.\n" + - "Requires one of the below options to be on." + "Requires one of the below options to be on." ) @ConfigEditorSlider(minValue = 1, maxValue = 50_000, minStep = 250) public int coinsPerCopperPrice = 6_000; diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningNotificationsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningNotificationsConfig.java index 59a74b879..0c1461183 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningNotificationsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningNotificationsConfig.java @@ -22,16 +22,16 @@ public class MiningNotificationsConfig { @Expose @ConfigOption( - name = "Notification List", - desc = "Drag text to change which events send a title." + name = "Notification List", + desc = "Drag text to change which events send a title." ) @ConfigEditorDraggableList public List<MiningNotificationList> notifications = new ArrayList<>(Arrays.asList( - MiningNotificationList.MINESHAFT_SPAWN, - MiningNotificationList.SCRAP, - MiningNotificationList.COLD, - MiningNotificationList.GOLDEN_GOBLIN, - MiningNotificationList.DIAMOND_GOBLIN + MiningNotificationList.MINESHAFT_SPAWN, + MiningNotificationList.SCRAP, + MiningNotificationList.COLD, + MiningNotificationList.GOLDEN_GOBLIN, + MiningNotificationList.DIAMOND_GOBLIN )); @Expose |