summaryrefslogtreecommitdiffstats
path: root/source/Inventory.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-19 20:42:42 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-19 20:42:42 +0200
commitaa9e0c5aa030025bb7e2b95847ea3418433395b6 (patch)
treeafde814fad04621af1baf01fbf8cd5b75f0967d7 /source/Inventory.h
parentInventory changes made by plugins are now propagated to the client (diff)
downloadcuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.tar
cuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.tar.gz
cuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.tar.bz2
cuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.tar.lz
cuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.tar.xz
cuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.tar.zst
cuberite-aa9e0c5aa030025bb7e2b95847ea3418433395b6.zip
Diffstat (limited to 'source/Inventory.h')
-rw-r--r--source/Inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Inventory.h b/source/Inventory.h
index af4beb699..351d900dc 100644
--- a/source/Inventory.h
+++ b/source/Inventory.h
@@ -53,7 +53,7 @@ public:
int GetEquippedSlotNum(void) { return m_EquippedSlotNum; }
/// Adds the specified damage to the specified item; deletes the item and returns true if the item broke.
- bool cInventory::DamageItem(int a_SlotNum, short a_Amount);
+ bool DamageItem(int a_SlotNum, short a_Amount);
/// Adds the specified damage to the currently held item; deletes the item and returns true if the item broke.
bool DamageEquippedItem(short a_Amount = 1);