mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
added ItemDef.stackSize
This commit is contained in:
parent
097e6fde2f
commit
01344a9d1d
2 changed files with 2 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ void ContentLoader::loadItem(ItemDef* def, std::string name, fs::path file) {
|
|||
}
|
||||
root->str("icon", def->icon);
|
||||
root->str("placing-block", def->placingBlock);
|
||||
root->num("stack-size", def->stackSize);
|
||||
|
||||
// item light emission [r, g, b] where r,g,b in range [0..15]
|
||||
auto emissionarr = root->list("emission");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue