mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add minetest.clear_registered_decorations() and clear_registered_ores()
This commit is contained in:
@@ -178,7 +178,7 @@ public:
|
||||
static const char *ELEMENT_TITLE;
|
||||
static const size_t ELEMENT_LIMIT = -1;
|
||||
|
||||
GenElementManager() {}
|
||||
GenElementManager(IGameDef *gamedef);
|
||||
virtual ~GenElementManager();
|
||||
|
||||
virtual GenElement *create(int type) = 0;
|
||||
@@ -192,6 +192,7 @@ public:
|
||||
virtual GenElement *getByName(const std::string &name);
|
||||
|
||||
protected:
|
||||
NodeResolver *m_resolver;
|
||||
std::vector<GenElement *> m_elements;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user