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