diff options
author | Bond-009 <bond.009@outlook.com> | 2017-06-30 10:46:58 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-06-30 10:46:58 +0200 |
commit | 7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b (patch) | |
tree | 734e7d5ea9d6ac8565752df9a3bba5873f636947 /src/Simulator | |
parent | Update tolua and export EffectID (diff) | |
download | cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.tar cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.tar.gz cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.tar.bz2 cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.tar.lz cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.tar.xz cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.tar.zst cuberite-7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/SandSimulator.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Simulator/SandSimulator.cpp b/src/Simulator/SandSimulator.cpp index 63fd8477d..903dbf53d 100644 --- a/src/Simulator/SandSimulator.cpp +++ b/src/Simulator/SandSimulator.cpp @@ -83,15 +83,19 @@ bool cSandSimulator::IsAllowedBlock(BLOCKTYPE a_BlockType) { switch (a_BlockType) { - case E_BLOCK_SAND: - case E_BLOCK_GRAVEL: case E_BLOCK_ANVIL: + case E_BLOCK_CONCRETE_POWDER: case E_BLOCK_DRAGON_EGG: + case E_BLOCK_GRAVEL: + case E_BLOCK_SAND: { return true; } + default: + { + return false; + } } - return false; } |