diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-22 22:36:24 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-22 22:36:24 +0100 |
commit | 24efa6f8645c2f310997c212907fb4e591d0afec (patch) | |
tree | ff6d43fb6a9af7838b0dc41908f895f71d9aef5c /source/cWorld.cpp | |
parent | Fixes: (diff) | |
download | cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.tar cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.tar.gz cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.tar.bz2 cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.tar.lz cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.tar.xz cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.tar.zst cuberite-24efa6f8645c2f310997c212907fb4e591d0afec.zip |
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r-- | source/cWorld.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 65c35535b..b1a0d1813 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -255,10 +255,10 @@ cWorld::cWorld( const char* a_WorldName ) // Blocks that breaks when pushed by piston
g_BlockPistonBreakable[ E_BLOCK_AIR ] = true;
- g_BlockPistonBreakable[ E_BLOCK_STATIONARY_WATER ] = true;
- g_BlockPistonBreakable[ E_BLOCK_WATER ] = true;
- g_BlockPistonBreakable[ E_BLOCK_STATIONARY_LAVA ] = true;
- g_BlockPistonBreakable[ E_BLOCK_LAVA ] = true;
+ g_BlockPistonBreakable[ E_BLOCK_STATIONARY_WATER ] = false; //This gave pistons the ability to drop water :D
+ g_BlockPistonBreakable[ E_BLOCK_WATER ] = false;
+ g_BlockPistonBreakable[ E_BLOCK_STATIONARY_LAVA ] = false;
+ g_BlockPistonBreakable[ E_BLOCK_LAVA ] = false;
g_BlockPistonBreakable[ E_BLOCK_BED ] = true;
g_BlockPistonBreakable[ E_BLOCK_COBWEB ] = true;
g_BlockPistonBreakable[ E_BLOCK_TALL_GRASS ] = true;
@@ -709,7 +709,7 @@ bool cWorld::DigBlock( int a_X, int a_Y, int a_Z, cItem & a_PickupItem ) cChunk* DestChunk = GetChunk( ChunkX, ChunkY, ChunkZ );
if(DestChunk)
{
- DestChunk->SetBlock(PosX, PosY, PosZ, 0, 0 );
+ DestChunk->SetBlock(PosX, PosY, PosZ, E_BLOCK_AIR, 0 );
m_WaterSimulator->WakeUp( a_X, a_Y, a_Z );
m_LavaSimulator->WakeUp( a_X, a_Y, a_Z );
|