aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-03-07 08:46:22 +1100
committerGitHub <noreply@github.com>2024-03-06 22:46:22 +0100
commit6da1f6daeea8383de0f363fcb007cc9df15afd45 (patch)
tree693a104b1dfaec685d9219bb96e4e2ab5d9fcf0e /src/main/java/at/hannibal2/skyhanni/features/event
parentde0f0e888a4c0767c8e8ca911113482a3b1f9d5c (diff)
downloadskyhanni-6da1f6daeea8383de0f363fcb007cc9df15afd45.tar.gz
skyhanni-6da1f6daeea8383de0f363fcb007cc9df15afd45.tar.bz2
skyhanni-6da1f6daeea8383de0f363fcb007cc9df15afd45.zip
Backend: Reformat code in all files in src directory (#1109)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/MythologicalCreatureTracker.kt5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt2
3 files changed, 8 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt
index 534dc4c91..51a3def55 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt
@@ -21,7 +21,10 @@ class HighlightInquisitors {
val entity = event.entity
if (entity is EntityPlayer && entity.name == "Minos Inquisitor") {
- RenderLivingEntityHelper.setEntityColor(entity, LorenzColor.AQUA.toColor().withAlpha(127)) { config.highlightInquisitors }
+ RenderLivingEntityHelper.setEntityColor(
+ entity,
+ LorenzColor.AQUA.toColor().withAlpha(127)
+ ) { config.highlightInquisitors }
RenderLivingEntityHelper.setNoHurtTime(entity) { config.highlightInquisitors }
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/MythologicalCreatureTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/MythologicalCreatureTracker.kt
index 001a96c4a..bfb849ff1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/MythologicalCreatureTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/MythologicalCreatureTracker.kt
@@ -49,8 +49,9 @@ object MythologicalCreatureTracker {
".* §r§eYou dug out a §r§2Minos Inquisitor§r§e!"
)
- private val tracker = SkyHanniTracker("Mythological Creature Tracker", { Data() }, { it.diana.mythologicalMobTracker })
- { drawDisplay(it) }
+ private val tracker =
+ SkyHanniTracker("Mythological Creature Tracker", { Data() }, { it.diana.mythologicalMobTracker })
+ { drawDisplay(it) }
class Data : TrackerData() {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt b/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt
index 257e69f3d..97da18d3c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/lobby/waypoints/christmas/PresentWaypoints.kt
@@ -32,7 +32,7 @@ class PresentWaypoints {
private val presentEntranceSet get() = presentEntranceLocations[HypixelData.lobbyType]
private val patternGroup = RepoPattern.group("event.lobby.waypoint.presents")
- private val presentAlreadyFoundPattern by patternGroup.pattern(
+ private val presentAlreadyFoundPattern by patternGroup.pattern(
"foundalready",
"§cYou have already found this present!"
)