From 0e236c03f96860ff66d8e8bd7ae22c400f55e197 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 9 Jun 2012 11:32:34 +0000 Subject: Bonemeal is consumed in survival mode when used on growable blocks git-svn-id: http://mc-server.googlecode.com/svn/trunk@582 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWorld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cWorld.h') 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 -- cgit v1.2.3