From 38b219de625c6c334b1b900c911886f5469a1720 Mon Sep 17 00:00:00 2001 From: faketruth Date: Fri, 16 Mar 2012 15:48:40 +0000 Subject: Exposed a function to Lua to get a block's sky light value git-svn-id: http://mc-server.googlecode.com/svn/trunk@416 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cChunkMap.h') diff --git a/source/cChunkMap.h b/source/cChunkMap.h index 10fe1e70a..f2d55b6b8 100644 --- a/source/cChunkMap.h +++ b/source/cChunkMap.h @@ -87,6 +87,7 @@ public: void CollectPickupsByPlayer(cPlayer * a_Player); BLOCKTYPE GetBlock (int a_X, int a_Y, int a_Z); BLOCKTYPE GetBlockMeta (int a_X, int a_Y, int a_Z); + BLOCKTYPE GetBlockSkyLight (int a_X, int a_Y, int a_Z); void SetBlockMeta (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockMeta); void SetBlock (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta); bool DigBlock (int a_X, int a_Y, int a_Z, cItem & a_PickupItem); -- cgit v1.2.3