mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Add minetest.unregister_item and minetest.register_alias_force
This commit is contained in:
parent
7eacdc7bb8
commit
aa33166386
8 changed files with 121 additions and 3 deletions
|
@ -384,6 +384,8 @@ public:
|
|||
const ContentFeatures &def)=0;
|
||||
// If returns CONTENT_IGNORE, could not allocate id
|
||||
virtual content_t allocateDummy(const std::string &name)=0;
|
||||
// Remove a node
|
||||
virtual void removeNode(const std::string &name)=0;
|
||||
|
||||
/*
|
||||
Update item alias mapping.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue