summaryrefslogtreecommitdiffstats
path: root/source/items/ItemLeaves.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-16 20:29:33 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-16 20:29:33 +0200
commit3eff1473553bf54acd1cff839ece0f1a91a372f1 (patch)
treec374a72e6dd0d0ac7109a1c7c054662044705731 /source/items/ItemLeaves.h
parentFixed a compilation warning (diff)
downloadcuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.tar
cuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.tar.gz
cuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.tar.bz2
cuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.tar.lz
cuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.tar.xz
cuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.tar.zst
cuberite-3eff1473553bf54acd1cff839ece0f1a91a372f1.zip
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