summaryrefslogtreecommitdiffstats
path: root/source/items/ItemSugarcane.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 14:07:22 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 14:07:22 +0200
commit9dc0e3c2335fa6aacd0974b161bd96772639bf52 (patch)
tree28381c0f45393be618e31c8475a049520128cb71 /source/items/ItemSugarcane.h
parentFixed warnings in md5 (diff)
downloadcuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar
cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.gz
cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.bz2
cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.lz
cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.xz
cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.tar.zst
cuberite-9dc0e3c2335fa6aacd0974b161bd96772639bf52.zip
Diffstat (limited to '')
-rw-r--r--source/items/ItemSugarcane.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/source/items/ItemSugarcane.h b/source/items/ItemSugarcane.h
index 778a20dbf..74557479e 100644
--- a/source/items/ItemSugarcane.h
+++ b/source/items/ItemSugarcane.h
@@ -1,9 +1,15 @@
+
#pragma once
#include "Item.h"
#include "../cWorld.h"
-class cItemSugarcaneHandler : public cItemHandler
+
+
+
+
+class cItemSugarcaneHandler :
+ public cItemHandler
{
public:
cItemSugarcaneHandler(int a_ItemID)
@@ -22,8 +28,12 @@ public:
return E_BLOCK_SUGARCANE;
}
- virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override
+ virtual NIBBLETYPE GetBlockMeta(short a_ItemDamage) override
{
return 0; //Not grown yet
}
-}; \ No newline at end of file
+} ;
+
+
+
+