summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r--src/net/inventoryhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h
index a93837939..aaa4d6f67 100644
--- a/src/net/inventoryhandler.h
+++ b/src/net/inventoryhandler.h
@@ -51,6 +51,9 @@ class InventoryHandler notfinal
virtual void useItem(const Item *const item) const = 0;
+ virtual void useItem(const Item *const item,
+ const int16_t useType) const = 0;
+
virtual void dropItem(const Item *const item,
const int amount) const = 0;