summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-02 20:49:14 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-02 20:49:14 +0200
commit5fc7592cba384f0bc89dca7f531f3e823224255b (patch)
treeb6a5d04f0ce4b2ec949ccc144513d969af3fdd04 /src/ChunkMap.h
parentSmall tweak for mobs (diff)
parentSuggestions two (diff)
downloadcuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.gz
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.bz2
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.lz
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.xz
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.tar.zst
cuberite-5fc7592cba384f0bc89dca7f531f3e823224255b.zip
Diffstat (limited to 'src/ChunkMap.h')
-rw-r--r--src/ChunkMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index c3deda088..8786d7016 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -153,7 +153,7 @@ public:
NIBBLETYPE GetBlockSkyLight (int a_BlockX, int a_BlockY, int a_BlockZ);
NIBBLETYPE GetBlockBlockLight(int a_BlockX, int a_BlockY, int a_BlockZ);
void SetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockMeta);
- void SetBlock (cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta);
+ void SetBlock (cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, bool a_SendToClients = true);
void QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, Int64 a_Tick, BLOCKTYPE a_PreviousBlockType = E_BLOCK_AIR);
bool GetBlockTypeMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta);
bool GetBlockInfo (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight);