aboutsummaryrefslogtreecommitdiff
path: root/src/server/serverinventorymgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/serverinventorymgr.h')
-rw-r--r--src/server/serverinventorymgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/serverinventorymgr.h b/src/server/serverinventorymgr.h
index ccf6d3b2e..0e4b72415 100644
--- a/src/server/serverinventorymgr.h
+++ b/src/server/serverinventorymgr.h
@@ -43,6 +43,7 @@ public:
Inventory *createDetachedInventory(const std::string &name, IItemDefManager *idef,
const std::string &player = "");
bool removeDetachedInventory(const std::string &name);
+ bool checkDetachedInventoryAccess(const InventoryLocation &loc, const std::string &player) const;
void sendDetachedInventories(const std::string &peer_name, bool incremental,
std::function<void(const std::string &, Inventory *)> apply_cb);