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/World.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/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index 04eab1851..0cf34b861 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1470,9 +1470,9 @@ void cWorld::FastSetBlock(int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, NIBB -void cWorld::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_TickDelay) +void cWorld::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_TickDelay, BLOCKTYPE a_PreviousBlockType) { - m_ChunkMap->QueueSetBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, GetWorldAge() + a_TickDelay); + m_ChunkMap->QueueSetBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, GetWorldAge() + a_TickDelay, a_PreviousBlockType); } |