mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Updating per review
This commit is contained in:
parent
fdcf4622c9
commit
7bf328d58c
|
|
@ -41,10 +41,8 @@ vector<shared_ptr<LevelSummary>> McRegionLevelStorageSource::getLevelList()
|
|||
if (subFolders)
|
||||
{
|
||||
const auto itEnd = subFolders->end();
|
||||
for (auto it = subFolders->begin(); it != itEnd; ++it)
|
||||
for (const File* file : *subFolders)
|
||||
{
|
||||
const File* file = *it;
|
||||
|
||||
if (file->isDirectory())
|
||||
continue;
|
||||
|
||||
|
|
@ -73,7 +71,7 @@ vector<shared_ptr<LevelSummary>> McRegionLevelStorageSource::getLevelList()
|
|||
gameType,
|
||||
requiresConversion,
|
||||
levelData->isHardcore(),
|
||||
false));
|
||||
false));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue