mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add 'number' uses display mode
This commit is contained in:
parent
64e433593c
commit
b1bd4feee7
3 changed files with 8 additions and 3 deletions
|
|
@ -442,6 +442,8 @@ void ContentLoader::loadItem(
|
|||
root.at("uses-display").get(usesDisplayStr);
|
||||
if (usesDisplayStr == "none") {
|
||||
def.usesDisplay = ItemUsesDisplay::NONE;
|
||||
} else if (usesDisplayStr == "number") {
|
||||
def.usesDisplay = ItemUsesDisplay::NUMBER;
|
||||
} else if (usesDisplayStr == "relation") {
|
||||
def.usesDisplay = ItemUsesDisplay::RELATION;
|
||||
} else if (usesDisplayStr == "vbar") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue