aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/rift
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 10:54:08 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 10:54:08 +0200
commitd4084e697899f6dc3ceb87b4d229e0fe3819440a (patch)
treeae545bc46674479edf125ae9e1ec8f82e10b7836 /src/main/java/at/hannibal2/skyhanni/features/rift
parentec19d756630c0477f0f6ff0fbbdff9a44be10fdd (diff)
downloadskyhanni-d4084e697899f6dc3ceb87b4d229e0fe3819440a.tar.gz
skyhanni-d4084e697899f6dc3ceb87b4d229e0fe3819440a.tar.bz2
skyhanni-d4084e697899f6dc3ceb87b4d229e0fe3819440a.zip
moved sendTitle into LorenzUtils
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/rift')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/area/wyldwoods/ShyCruxWarnings.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/area/wyldwoods/ShyCruxWarnings.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/area/wyldwoods/ShyCruxWarnings.kt
index 84808625a..7ac4d1ed6 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/area/wyldwoods/ShyCruxWarnings.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/area/wyldwoods/ShyCruxWarnings.kt
@@ -1,10 +1,10 @@
package at.hannibal2.skyhanni.features.rift.area.wyldwoods
-import at.hannibal2.skyhanni.data.TitleUtils
import at.hannibal2.skyhanni.events.LorenzTickEvent
import at.hannibal2.skyhanni.features.rift.RiftAPI
import at.hannibal2.skyhanni.utils.EntityUtils
import at.hannibal2.skyhanni.utils.LocationUtils.distanceToPlayer
+import at.hannibal2.skyhanni.utils.LorenzUtils
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import kotlin.time.Duration.Companion.milliseconds
@@ -22,7 +22,7 @@ class ShyCruxWarnings {
private fun checkForShy() {
if (EntityUtils.getAllEntities().any { it.name in shyNames && it.distanceToPlayer() < 8 }) {
- TitleUtils.sendTitle("§eLook away!", 150.milliseconds)
+ LorenzUtils.sendTitle("§eLook away!", 150.milliseconds)
}
}
} \ No newline at end of file