From a2f6243b21b60d010be84c0747a98f731835e7ae Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 13 Oct 2012 08:56:12 +0000 Subject: Added delayed ticking to Lua API git-svn-id: http://mc-server.googlecode.com/svn/trunk@953 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/World.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/World.h') diff --git a/source/World.h b/source/World.h index 654460737..f3117fe55 100644 --- a/source/World.h +++ b/source/World.h @@ -381,7 +381,7 @@ public: float ToWait; }; - void QueueBlockForTick(int a_BlockX, int a_BlockY, int a_BlockZ, float a_Time); + void QueueBlockForTick(int a_BlockX, int a_BlockY, int a_BlockZ, float a_TimeToWait); // tolua_export void CastThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ); //tolua_export void SetWeather ( eWeather a_Weather ); //tolua_export @@ -398,7 +398,7 @@ public: int GetMaxSugarcaneHeight(void) const { return m_MaxSugarcaneHeight; } // tolua_export int GetMaxCactusHeight (void) const { return m_MaxCactusHeight; } // tolua_export - bool IsBlockDirectlyWatered(int a_X, int a_Y, int a_Z); + bool IsBlockDirectlyWatered(int a_BlockX, int a_BlockY, int a_BlockZ); // tolua_export private: -- cgit v1.2.3