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.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/source/items/ItemSugarcane.h b/source/items/ItemSugarcane.h
index b79a3c6c7..778a20dbf 100644
--- a/source/items/ItemSugarcane.h
+++ b/source/items/ItemSugarcane.h
@@ -12,22 +12,17 @@ public:
}
- virtual bool IsPlaceable()
+ virtual bool IsPlaceable() override
{
return true;
}
- virtual bool AllowBlockOnTop()
- {
- return false;
- }
-
- virtual BLOCKTYPE GetBlockType()
+ virtual BLOCKTYPE GetBlockType() override
{
return E_BLOCK_SUGARCANE;
}
- virtual NIBBLETYPE GetBlockMeta(char a_ItemMeta) override
+ virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override
{
return 0; //Not grown yet
}