diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-09 14:03:49 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-09 14:03:49 +0200 |
commit | ec61713221292914cd8e9e12bb77fac9e76e42eb (patch) | |
tree | 99acb7704519206e83e91235c78fa0f1ec22cd83 /source/cWorld.cpp | |
parent | Bonemeal is consumed in survival mode when used on growable blocks (diff) | |
download | cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.tar cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.tar.gz cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.tar.bz2 cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.tar.lz cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.tar.xz cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.tar.zst cuberite-ec61713221292914cd8e9e12bb77fac9e76e42eb.zip |
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r-- | source/cWorld.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 7f6390dca..b8e785dd5 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -921,6 +921,12 @@ bool cWorld::GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ) m_ChunkMap->GrowSugarcane(a_BlockX, a_BlockY, a_BlockZ, 3);
return true;
}
+
+ case E_BLOCK_CACTUS:
+ {
+ m_ChunkMap->GrowCactus(a_BlockX, a_BlockY, a_BlockZ, 3);
+ return true;
+ }
} // switch (BlockType)
return false;
}
|