Resources priority update

This commit is contained in:
MihailRis
2023-12-30 20:53:38 +03:00
parent 298cf561bc
commit 861c7f6c76
3 changed files with 27 additions and 26 deletions
+2
View File
@@ -156,6 +156,8 @@ void ContentLoader::load(ContentBuilder* builder) {
fixPackIndices();
auto folder = pack->folder;
if (!fs::is_regular_file(pack->getContentFile()))
return;
std::unique_ptr<json::JObject> root (files::read_json(pack->getContentFile()));
json::JArray* blocksarr = root->arr("blocks");