From 1b45af4cca64914c61648da584f523b90ea0e24e Mon Sep 17 00:00:00 2001 From: Lorenz Date: Sat, 9 Jul 2022 02:51:59 +0200 Subject: removed debug --- src/main/java/at/lorenz/mod/misc/HypixelData.kt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/main/java') 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(?[\\w]+): §r§7(?[\\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 -- cgit