summaryrefslogtreecommitdiffstats
path: root/source/items/ItemLeaves.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/items/ItemLeaves.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/items/ItemLeaves.h b/source/items/ItemLeaves.h
index d328858fd..03f0ce8f3 100644
--- a/source/items/ItemLeaves.h
+++ b/source/items/ItemLeaves.h
@@ -10,8 +10,8 @@ public:
: cItemHandler(a_ItemID)
{
}
- virtual char GetBlockMeta(char a_ItemMeta)
+ virtual NIBBLETYPE GetBlockMeta(char a_ItemMeta) override
{
- return a_ItemMeta | 0x4; //0x4 bit set means this is a player places leave
+ return a_ItemMeta | 0x4; //0x4 bit set means this is a player-placed leaves block, not to be decayed
}
}; \ No newline at end of file