mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Resources priority update
This commit is contained in:
parent
298cf561bc
commit
861c7f6c76
3 changed files with 27 additions and 26 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue