summaryrefslogtreecommitdiff
path: root/src/inventorymanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventorymanager.h')
-rw-r--r--src/inventorymanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventorymanager.h b/src/inventorymanager.h
index 8e2abc961..39cc6e50f 100644
--- a/src/inventorymanager.h
+++ b/src/inventorymanager.h
@@ -112,7 +112,7 @@ public:
// Get an inventory (server and client)
virtual Inventory* getInventory(const InventoryLocation &loc){return NULL;}
// Set modified (will be saved and sent over network; only on server)
- virtual void setInventoryModified(const InventoryLocation &loc){}
+ virtual void setInventoryModified(const InventoryLocation &loc, bool playerSend = true){}
// Send inventory action to server (only on client)
virtual void inventoryAction(InventoryAction *a){}
};