mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-09-11 00:59:41 +00:00
tracker id 0 being skipped
This commit is contained in:
@@ -13,7 +13,7 @@ function decodeInfoTrackerListChunk(infoTrackerListChunk: InfoTrackerListChunk)
|
||||
if (trackerChunk.data_len) {
|
||||
offset += trackerChunk.data_len;
|
||||
}
|
||||
if (trackerChunk.id) {
|
||||
if (trackerChunk.id !== undefined) {
|
||||
infoTrackerListChunk.trackers[trackerChunk.id] = trackerChunk;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user