Skip to content

Commit

Permalink
msvc build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 29, 2023
1 parent d2ace01 commit 71fdd4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/ContentLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 71fdd4b

Please sign in to comment.