summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockLeaves.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-16 12:12:56 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-16 12:12:56 +0100
commit32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6 (patch)
tree0d336dd2935b40610d884892e493f41d81f56573 /source/Blocks/BlockLeaves.h
parentAdded API.txt into project for reference (diff)
downloadcuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.gz
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.bz2
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.lz
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.xz
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.zst
cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockLeaves.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockLeaves.h b/source/Blocks/BlockLeaves.h
index 101f7c087..3563babcf 100644
--- a/source/Blocks/BlockLeaves.h
+++ b/source/Blocks/BlockLeaves.h
@@ -41,7 +41,7 @@ public:
// Only the first 2 bits contain the display information, the others are for growing
if (rand.randInt(5) == 0)
{
- a_Pickups.push_back(cItem(E_ITEM_SAPLING, 1, a_BlockMeta & 3));
+ a_Pickups.push_back(cItem(E_BLOCK_SAPLING, 1, a_BlockMeta & 3));
}
if ((a_BlockMeta & 3) == E_META_SAPLING_APPLE)
{