aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-09 02:51:59 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-09 02:51:59 +0200
commit1b45af4cca64914c61648da584f523b90ea0e24e (patch)
tree3d94815a6262a82df6f3a40d85ab7beb95cf76e7 /src/main/java/at
parent75306f1a3f62a4958b364423955685525336a52e (diff)
downloadskyhanni-1b45af4cca64914c61648da584f523b90ea0e24e.tar.gz
skyhanni-1b45af4cca64914c61648da584f523b90ea0e24e.tar.bz2
skyhanni-1b45af4cca64914c61648da584f523b90ea0e24e.zip
removed debug
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/lorenz/mod/misc/HypixelData.kt12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/at/lorenz/mod/misc/HypixelData.kt b/src/main/java/at/lorenz/mod/misc/HypixelData.kt
index 01db59312..0c2de6683 100644
--- a/src/main/java/at/lorenz/mod/misc/HypixelData.kt
+++ b/src/main/java/at/lorenz/mod/misc/HypixelData.kt
@@ -23,10 +23,6 @@ class HypixelData {
!event.isLocal && (thePlayer?.clientBrand?.lowercase()?.contains("hypixel")
?: currentServerData?.serverIP?.lowercase()?.contains("hypixel") ?: false)
}.onFailure { it.printStackTrace() }.getOrDefault(false)
- LorenzUtils.debug("connected to hypixel!")
- if (hypixel) {
- LorenzUtils.debug("connected to hypixel!")
- }
}
@SubscribeEvent
@@ -34,9 +30,6 @@ class HypixelData {
if (!hypixel || skyblock || event.packet !is S3DPacketDisplayScoreboard) return
if (event.packet.func_149371_c() != 1) return
skyblock = event.packet.func_149370_d() == "SBScoreboard"
- if (skyblock) {
- LorenzUtils.debug("joined on skyblock!")
- }
}
val areaRegex = Regex("§r§b§l(?<area>[\\w]+): §r§7(?<loc>[\\w ]+)§r")
@@ -51,9 +44,6 @@ class HypixelData {
val name = playerData?.displayName?.formattedText ?: playerData?.profile?.name ?: return@forEach
areaRegex.matchEntire(name)?.let { result ->
dungeon = skyblock && result.groups["area"]?.value == "Dungeon"
- if (dungeon) {
- LorenzUtils.debug("entered a dungeon!")
- }
return@forEach
}
}
@@ -63,7 +53,6 @@ class HypixelData {
fun onWorldChange(event: WorldEvent.Load) {
skyblock = false
dungeon = false
- LorenzUtils.debug("onWorldChange")
}
@SubscribeEvent
@@ -71,6 +60,5 @@ class HypixelData {
hypixel = false
skyblock = false
dungeon = false
- LorenzUtils.debug("ClientDisconnection")
}
} \ No newline at end of file