diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 08:05:27 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-12-20 08:05:27 +0100 |
commit | bf31e8028092a8e7419890f0611a9f03b044df92 (patch) | |
tree | 81086c67e7e8c776bc14dcec4bb9c663c2dab25d /src | |
parent | Merge pull request #450 from mc-server/redstonefixes (diff) | |
parent | Fixed assertion during dirt block OnUpdate() (diff) | |
download | cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.tar cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.tar.gz cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.tar.bz2 cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.tar.lz cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.tar.xz cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.tar.zst cuberite-bf31e8028092a8e7419890f0611a9f03b044df92.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Blocks/BlockDirt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockDirt.h b/src/Blocks/BlockDirt.h index a83dab1fd..46210e406 100644 --- a/src/Blocks/BlockDirt.h +++ b/src/Blocks/BlockDirt.h @@ -80,7 +80,7 @@ public: Chunk->GetBlockTypeMeta(BlockX, BlockY + 1, BlockZ, AboveDest, AboveMeta); if ((g_BlockOneHitDig[AboveDest] || g_BlockTransparent[AboveDest]) && !IsBlockWater(AboveDest)) { - Chunk->FastSetBlock(a_RelX + OfsX, a_RelY + OfsY, a_RelZ + OfsZ, E_BLOCK_GRASS, 0); + Chunk->FastSetBlock(BlockX, BlockY, BlockZ, E_BLOCK_GRASS, 0); } } // for i - repeat twice } |