mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add core.register_schematic() and cache schematics on use
This commit is contained in:
@@ -204,6 +204,8 @@ public:
|
||||
|
||||
virtual GenElement *getByName(const std::string &name);
|
||||
|
||||
INodeDefManager *getNodeDef() { return m_ndef; }
|
||||
|
||||
protected:
|
||||
INodeDefManager *m_ndef;
|
||||
std::vector<GenElement *> m_elements;
|
||||
|
Reference in New Issue
Block a user