aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/api')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
index f305d7aee..c2782a3c1 100644
--- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
@@ -17,16 +17,16 @@ class CollectionAPI {
private val counterPattern = Pattern.compile("(?:.*) §e(.*)§6\\/(?:.*)")
private val singleCounterPattern = Pattern.compile("§7Total Collected: §e(.*)")
- private val hypixelApiHasWrongItems = listOf(
- "WOOL",
- "CORRUPTED_FRAGMENT",
- "EGG",
- "POISONOUS_POTATO",
- "REDSTONE_BLOCK",
- "MUSHROOM_COLLECTION",
- "RAW_SOULFLOW",
- "GEMSTONE_COLLECTION",
- )
+// private val hypixelApiHasWrongItems = listOf(
+// "WOOL",
+// "CORRUPTED_FRAGMENT",
+// "EGG",
+// "POISONOUS_POTATO",
+// "REDSTONE_BLOCK",
+// "MUSHROOM_COLLECTION",
+// "RAW_SOULFLOW",
+// "GEMSTONE_COLLECTION",
+// )
@SubscribeEvent
fun onProfileDataLoad(event: ProfileApiDataLoadedEvent) {
@@ -38,10 +38,10 @@ class CollectionAPI {
val neuItemId = NEUItems.transHypixelNameToInternalName(hypixelId)
val itemName = BazaarApi.getBazaarDataByInternalName(neuItemId)?.displayName
// Hypixel moment
- if (hypixelApiHasWrongItems.contains(neuItemId)) continue
+// if (hypixelApiHasWrongItems.contains(neuItemId)) continue
if (itemName == null) {
- LorenzUtils.debug("collection name is null for '$neuItemId'")
+// LorenzUtils.debug("collection name is null for '$neuItemId'")
continue
}
collectionValue[neuItemId] = counter