mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
blocks and items 'caption' property
This commit is contained in:
parent
c9da6b9a0c
commit
5c3b61265a
10 changed files with 44 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#include "ItemDef.h"
|
||||
#include "../util/stringutil.h"
|
||||
|
||||
ItemDef::ItemDef(std::string name) : name(name) {
|
||||
caption = util::id_to_caption(name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue