summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-09 13:32:34 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-09 13:32:34 +0200
commit0e236c03f96860ff66d8e8bd7ae22c400f55e197 (patch)
tree3df8522a64c34a5c307d6fc1828926f9eb493643 /source/cWorld.h
parentTall grass finally drops seeds (diff)
downloadcuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.tar
cuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.tar.gz
cuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.tar.bz2
cuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.tar.lz
cuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.tar.xz
cuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.tar.zst
cuberite-0e236c03f96860ff66d8e8bd7ae22c400f55e197.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index 85823f27e..8f5cf63b0 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -244,8 +244,8 @@ public:
void GrowTreeImage(const sSetBlockVector & a_Blocks);
- /// Grows the plant at the specified block to its ripe stage (bonemeal used)
- void GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ); // tolua_export
+ /// Grows the plant at the specified block to its ripe stage (bonemeal used); returns false if the block is not growable.
+ bool GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ); // tolua_export
/// Grows a melon or a pumpkin next to the block specified (assumed to be the stem)
void GrowMelonPumpkin(int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockType); // tolua_export