Removed unnecessary null check
This commit is contained in:
parent
8b92f39039
commit
487f607138
1 changed files with 2 additions and 4 deletions
|
@ -473,10 +473,8 @@ public class DownloadResources extends DownloadResourceGroup {
|
|||
}
|
||||
if (downloadRegions != null) {
|
||||
for (WorldRegion downloadRegion : downloadRegions) {
|
||||
if (downloadRegion != null) {
|
||||
if (includeDownloaded || !isIndexItemDownloaded(downloadThread, type, downloadRegion, res)) {
|
||||
addIndexItem(downloadThread, type, downloadRegion, res);
|
||||
}
|
||||
if (includeDownloaded || !isIndexItemDownloaded(downloadThread, type, downloadRegion, res)) {
|
||||
addIndexItem(downloadThread, type, downloadRegion, res);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue