mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
add block/item tags
This commit is contained in:
parent
d59a901ae0
commit
8bdf31d7bb
9 changed files with 53 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ template<> void ContentUnitLoader<Block>::loadUnit(
|
|||
) {
|
||||
auto root = io::read_json(file);
|
||||
process_properties(def, name, root);
|
||||
process_tags(def, root);
|
||||
|
||||
if (root.has("parent")) {
|
||||
const auto& parentName = root["parent"].asString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue