From 71fdd4b63e742a5a87711d92cc2f50d707f3c132 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 30 Dec 2023 00:35:42 +0300 Subject: [PATCH] msvc build fix --- src/content/ContentLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/ContentLoader.cpp b/src/content/ContentLoader.cpp index 75e5ff0e..e9f634eb 100644 --- a/src/content/ContentLoader.cpp +++ b/src/content/ContentLoader.cpp @@ -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);