diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-05-07 20:59:25 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-05-07 21:00:21 +0200 |
commit | 10e3c262db1ca37f1dabae7400246ec56a3c19cd (patch) | |
tree | 501c4c0de68fb983e326e565f0254f16ec519278 | |
parent | Change m_RepairCost to int. (diff) | |
download | cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.tar cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.tar.gz cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.tar.bz2 cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.tar.lz cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.tar.xz cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.tar.zst cuberite-10e3c262db1ca37f1dabae7400246ec56a3c19cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Inventory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Inventory.cpp b/src/Inventory.cpp index c7c089d5f..a365e4ed4 100644 --- a/src/Inventory.cpp +++ b/src/Inventory.cpp @@ -376,6 +376,7 @@ bool cInventory::DamageItem(int a_SlotNum, short a_Amount) if (!Grid->DamageItem(GridSlotNum, a_Amount)) { // The item has been damaged, but did not break yet + SendSlot(a_SlotNum); return false; } |