summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2017-06-30 10:46:58 +0200
committerMattes D <github@xoft.cz>2017-06-30 10:46:58 +0200
commit7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b (patch)
tree734e7d5ea9d6ac8565752df9a3bba5873f636947 /src/Simulator
parentUpdate tolua and export EffectID (diff)
downloadcuberite-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.cpp10
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;
}