diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-16 20:29:33 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-16 20:29:33 +0200 |
commit | 3eff1473553bf54acd1cff839ece0f1a91a372f1 (patch) | |
tree | c374a72e6dd0d0ac7109a1c7c054662044705731 /source/items/ItemLeaves.h | |
parent | Fixed a compilation warning (diff) | |
download | cuberite-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.h | 4 |
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 |