Block.scriptName, ItemDef.scriptName

This commit is contained in:
MihailRis
2024-01-18 04:41:35 +03:00
parent 9119caca65
commit b12d242335
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -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;