Skip to content

Commit

Permalink
PZHoYoLABKit // Only hinders duplicated abyss upload if not DEBUG build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen committed Nov 18, 2024
1 parent 99b4c9e commit 2260140
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ extension AbyssCollector {
encoder.outputFormatting = [.sortedKeys]
let dataToSend = try encoder.encode(dataPack)

#if !DEBUG
guard !Defaults[md5Key].contains(md5) else { throw ACError.alreadyUploaded }
#endif

func saveMD5() {
Defaults[md5Key].append(md5)
Expand Down

0 comments on commit 2260140

Please sign in to comment.