mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add core.register_schematic() and cache schematics on use
This commit is contained in:
parent
9fc2b93d9f
commit
732d7b9a7c
3 changed files with 146 additions and 91 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue