From 91e307ddf74559350bd6d6851b681c66f90d8d2a Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 8 May 2024 17:35:09 +0200 Subject: no more debug --- .../at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt index 39bf63de6..3fc091752 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt @@ -144,28 +144,19 @@ class TunnelsMaps { @SubscribeEvent fun onInventoryFullyOpened(event: InventoryFullyOpenedEvent) { - println("a") if (!isEnabled()) return - println("b") clickTranslate = mapOf() if (!commissionInvPattern.matches(event.inventoryName)) return - println("c") clickTranslate = event.inventoryItems.mapNotNull { (slotId, item) -> - println("d") val lore = item.getLore() if (!glacitePattern.anyMatches(lore)) return@mapNotNull null - println("e") if (completedPattern.anyMatches(lore)) return@mapNotNull null - println("f") val type = lore.matchFirst(collectorCommissionPattern) { group("what") } ?: return@mapNotNull null - println("g") if (invalidGoalPattern.matches(type)) return@mapNotNull null - println("h") val mapName = getGenericName(type) if (mapName.isEmpty()) { - println("i") ErrorManager.logErrorStateWithData( "Unknown Collection Commission: $type", "$type can't be found in the graph.", "type" to type, @@ -174,15 +165,11 @@ class TunnelsMaps { ) null } else { - println("j") slotId to getGenericName(type) } }.toMap() - println("k") if (config.autoCommission) { - println("l") clickTranslate.values.firstOrNull()?.let { - println("m") setActiveAndGoal(it) } } -- cgit