mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
Block.scriptName, ItemDef.scriptName
This commit is contained in:
parent
9119caca65
commit
b12d242335
3 changed files with 7 additions and 3 deletions
|
|
@ -30,6 +30,7 @@ public:
|
|||
std::string icon = "blocks:notfound";
|
||||
|
||||
std::string placingBlock = "core:air";
|
||||
std::string scriptName = name.substr(name.find(':')+1);
|
||||
|
||||
struct {
|
||||
itemid_t id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue