mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add core.remove_detached_inventory (#7684)
Breaks backwards compatibility for good Bump protocol version
This commit is contained in:
@@ -248,7 +248,9 @@ public:
|
||||
void deleteParticleSpawner(const std::string &playername, u32 id);
|
||||
|
||||
// Creates or resets inventory
|
||||
Inventory* createDetachedInventory(const std::string &name, const std::string &player="");
|
||||
Inventory *createDetachedInventory(const std::string &name,
|
||||
const std::string &player = "");
|
||||
bool removeDetachedInventory(const std::string &name);
|
||||
|
||||
// Envlock and conlock should be locked when using scriptapi
|
||||
ServerScripting *getScriptIface(){ return m_script; }
|
||||
|
Reference in New Issue
Block a user