diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-06 23:29:15 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-06 23:29:15 +0100 |
commit | b02873172639db2ac7a494389899c2175e0ddd8f (patch) | |
tree | 45f828ac294097525ba070cbd88fa503c57aa4e6 /src/ChunkMap.cpp | |
parent | Added trapdoor cursor Y detection (diff) | |
download | cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.tar cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.tar.gz cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.tar.bz2 cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.tar.lz cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.tar.xz cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.tar.zst cuberite-b02873172639db2ac7a494389899c2175e0ddd8f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index a6caa5ef7..f3241bd54 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1173,7 +1173,7 @@ void cChunkMap::SetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_B -void cChunkMap::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, Int64 a_Tick) +void cChunkMap::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, Int64 a_Tick, BLOCKTYPE a_PreviousBlockType) { int ChunkX, ChunkZ, X = a_BlockX, Y = a_BlockY, Z = a_BlockZ; cChunkDef::AbsoluteToRelative(X, Y, Z, ChunkX, ChunkZ); @@ -1182,7 +1182,7 @@ void cChunkMap::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYP cChunkPtr Chunk = GetChunk(ChunkX, ZERO_CHUNK_Y, ChunkZ); if ((Chunk != NULL) && Chunk->IsValid()) { - Chunk->QueueSetBlock(X, Y, Z, a_BlockType, a_BlockMeta, a_Tick); + Chunk->QueueSetBlock(X, Y, Z, a_BlockType, a_BlockMeta, a_Tick, a_PreviousBlockType); } } |