summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-04-25 00:10:52 +0200
committerHowaner <franzi.moos@googlemail.com>2014-04-25 00:10:52 +0200
commitccd9023202e2a9f97780fd96438c024a83618052 (patch)
tree85695dc3d17b463d77a9ada66671f9b5440ac457
parentAdd unkown armor warning and fix armor stacks. (diff)
downloadcuberite-ccd9023202e2a9f97780fd96438c024a83618052.tar
cuberite-ccd9023202e2a9f97780fd96438c024a83618052.tar.gz
cuberite-ccd9023202e2a9f97780fd96438c024a83618052.tar.bz2
cuberite-ccd9023202e2a9f97780fd96438c024a83618052.tar.lz
cuberite-ccd9023202e2a9f97780fd96438c024a83618052.tar.xz
cuberite-ccd9023202e2a9f97780fd96438c024a83618052.tar.zst
cuberite-ccd9023202e2a9f97780fd96438c024a83618052.zip
-rw-r--r--src/Items/ItemArmor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Items/ItemArmor.h b/src/Items/ItemArmor.h
index a786990fc..08cddb1ad 100644
--- a/src/Items/ItemArmor.h
+++ b/src/Items/ItemArmor.h
@@ -17,6 +17,7 @@ public:
{
}
+ /** Move the armor to the armor slot of the player's inventory */
virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override
{
int SlotNum;