msvc build fix
This commit is contained in:
parent
d2ace01c07
commit
71fdd4b63e
@ -38,7 +38,7 @@ void ContentLoader::fixPackIndices() {
|
||||
for (auto entry : fs::directory_iterator(blocksFolder)) {
|
||||
fs::path file = entry.path();
|
||||
if (fs::is_regular_file(file) && file.extension() == ".json") {
|
||||
std::string name = file.stem();
|
||||
std::string name = file.stem().string();
|
||||
if (name[0] == '_')
|
||||
continue;
|
||||
detectedBlocks.push_back(name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user