diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-19 20:42:42 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-19 20:42:42 +0200 |
commit | aa9e0c5aa030025bb7e2b95847ea3418433395b6 (patch) | |
tree | afde814fad04621af1baf01fbf8cd5b75f0967d7 | |
parent | Inventory changes made by plugins are now propagated to the client (diff) | |
download | cuberite-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 |
-rw-r--r-- | source/Inventory.h | 2 |
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); |