diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-15 18:33:28 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-15 18:33:28 +0200 |
commit | 74b6bf01a9932b12cb4ce6588086bfb00bf305a0 (patch) | |
tree | 4fa87659306bf525cdb447a85357d8eb1ad5b457 /src/ChunkMap.cpp | |
parent | Reset meta to zero when the block explode. (diff) | |
download | cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.tar cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.tar.gz cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.tar.bz2 cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.tar.lz cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.tar.xz cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.tar.zst cuberite-74b6bf01a9932b12cb4ce6588086bfb00bf305a0.zip |
Diffstat (limited to 'src/ChunkMap.cpp')
-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 d25f6d64b..9bc3e5c49 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1854,14 +1854,14 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_ case E_BLOCK_STATIONARY_WATER: { // Turn into simulated water: - area.SetBlockTypeMeta(bx + x, by + y, bz + z, E_BLOCK_WATER, 0); + area.SetBlockType(bx + x, by + y, bz + z, E_BLOCK_WATER); break; } case E_BLOCK_STATIONARY_LAVA: { // Turn into simulated lava: - area.SetBlockTypeMeta(bx + x, by + y, bz + z, E_BLOCK_LAVA, 0); + area.SetBlockType(bx + x, by + y, bz + z, E_BLOCK_LAVA); break; } |