mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add core.remove_detached_inventory (#7684)
Breaks backwards compatibility for good Bump protocol version
This commit is contained in:
parent
d6f2a1c4b8
commit
0a5e77132a
8 changed files with 101 additions and 35 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue