@@ -169,6 +169,9 @@ public final class CurseForgeRemoteModRepository implements RemoteModRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
long hash = Integer.toUnsignedLong(MurmurHash2.hash32(baos.toByteArray(), baos.size(), 1));
|
long hash = Integer.toUnsignedLong(MurmurHash2.hash32(baos.toByteArray(), baos.size(), 1));
|
||||||
|
if (hash == 811513880) { // Workaround for https://github.com/HMCL-dev/HMCL/issues/4597
|
||||||
|
return Optional.empty();
|
||||||
|
}
|
||||||
|
|
||||||
Response<FingerprintMatchesResult> response = withApiKey(HttpRequest.POST(PREFIX + "/v1/fingerprints/432"))
|
Response<FingerprintMatchesResult> response = withApiKey(HttpRequest.POST(PREFIX + "/v1/fingerprints/432"))
|
||||||
.json(mapOf(pair("fingerprints", Collections.singletonList(hash))))
|
.json(mapOf(pair("fingerprints", Collections.singletonList(hash))))
|
||||||
|
|||||||
Reference in New Issue
Block a user