diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-02 20:49:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-02 20:49:14 +0200 |
commit | 5fc7592cba384f0bc89dca7f531f3e823224255b (patch) | |
tree | b6a5d04f0ce4b2ec949ccc144513d969af3fdd04 /src/ChunkMap.h | |
parent | Small tweak for mobs (diff) | |
parent | Suggestions two (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/ChunkMap.h | 2 |
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); |