summaryrefslogtreecommitdiffstats
path: root/source/items/ItemSugarcane.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/items/ItemSugarcane.h')
-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
+} ;
+
+
+
+