From b4a68e58a9badb0f33d43a4cce9877935b2cc917 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 21 Feb 2012 12:29:05 +0000 Subject: Fixed block-getting so that simulators work again git-svn-id: http://mc-server.googlecode.com/svn/trunk@301 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cChunkMap.h') diff --git a/source/cChunkMap.h b/source/cChunkMap.h index 33e468eb1..2ab8ea0d0 100644 --- a/source/cChunkMap.h +++ b/source/cChunkMap.h @@ -54,6 +54,8 @@ public: int GetHeight (int a_BlockX, int a_BlockZ); void FastSetBlocks (sSetBlockList & a_BlockList); void CollectPickupsByPlayer(cPlayer * a_Player); + char GetBlock (int a_X, int a_Y, int a_Z); + char GetBlockMeta (int a_X, int a_Y, int a_Z); /// Compares clients of two chunks, calls the callback accordingly void CompareChunkClients(int a_ChunkX1, int a_ChunkY1, int a_ChunkZ1, int a_ChunkX2, int a_ChunkY2, int a_ChunkZ2, cClientDiffCallback & a_Callback); -- cgit v1.2.3