aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-21 23:51:37 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-21 23:51:37 +0200
commitad5e66f4b03ae80cd4f4cf6268495e6b4db901de (patch)
tree5faca09b5f11dc17309aef3ada27a6194e8ace4e /src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
parent9dcb17f1d853796620817e036c53a67ae4635125 (diff)
downloadskyhanni-ad5e66f4b03ae80cd4f4cf6268495e6b4db901de.tar.gz
skyhanni-ad5e66f4b03ae80cd4f4cf6268495e6b4db901de.tar.bz2
skyhanni-ad5e66f4b03ae80cd4f4cf6268495e6b4db901de.zip
added useful stuff
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
index 6a9bc3d2b..580954dc2 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
@@ -29,6 +29,7 @@ class HypixelData {
var bingo = false
var profileName = ""
+ var joinedWorld = 0L
fun readSkyBlockArea(): String {
return ScoreboardData.sidebarLinesFormatted
@@ -43,6 +44,7 @@ class HypixelData {
@SubscribeEvent
fun onWorldChange(event: WorldEvent.Load) {
skyBlock = false
+ joinedWorld = System.currentTimeMillis()
}
@SubscribeEvent