summaryrefslogtreecommitdiffstats
path: root/src/Simulator/SandSimulator.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-11-30 21:16:21 +0100
committerHowaner <franzi.moos@googlemail.com>2014-11-30 21:16:21 +0100
commit9abc3657832a4e0b52eb5bd2d4ab2baabd321506 (patch)
treef0fcf58615fdc02676ec82d5ba5953f2840dc922 /src/Simulator/SandSimulator.cpp
parentAdded a CanBeAt(...) check to HandleRightClick() (diff)
downloadcuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.tar
cuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.tar.gz
cuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.tar.bz2
cuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.tar.lz
cuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.tar.xz
cuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.tar.zst
cuberite-9abc3657832a4e0b52eb5bd2d4ab2baabd321506.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/SandSimulator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Simulator/SandSimulator.cpp b/src/Simulator/SandSimulator.cpp
index dfbd3e458..955b68717 100644
--- a/src/Simulator/SandSimulator.cpp
+++ b/src/Simulator/SandSimulator.cpp
@@ -153,6 +153,7 @@ bool cSandSimulator::CanContinueFallThrough(BLOCKTYPE a_BlockType)
{
case E_BLOCK_AIR:
case E_BLOCK_BROWN_MUSHROOM:
+ case E_BLOCK_CARROTS:
case E_BLOCK_COBWEB:
case E_BLOCK_CROPS:
case E_BLOCK_DEAD_BUSH:
@@ -166,6 +167,7 @@ bool cSandSimulator::CanContinueFallThrough(BLOCKTYPE a_BlockType)
case E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE:
case E_BLOCK_MINECART_TRACKS:
case E_BLOCK_MELON_STEM:
+ case E_BLOCK_POTATOES:
case E_BLOCK_POWERED_RAIL:
case E_BLOCK_PUMPKIN_STEM:
case E_BLOCK_REDSTONE_REPEATER_OFF:
@@ -181,11 +183,13 @@ bool cSandSimulator::CanContinueFallThrough(BLOCKTYPE a_BlockType)
case E_BLOCK_STATIONARY_WATER:
case E_BLOCK_STONE_BUTTON:
case E_BLOCK_STONE_PRESSURE_PLATE:
+ case E_BLOCK_SUGARCANE:
case E_BLOCK_TALL_GRASS:
case E_BLOCK_TORCH:
case E_BLOCK_TRAPDOOR:
case E_BLOCK_TRIPWIRE:
case E_BLOCK_TRIPWIRE_HOOK:
+ case E_BLOCK_VINES:
case E_BLOCK_WALLSIGN:
case E_BLOCK_WATER:
case E_BLOCK_WOODEN_BUTTON:
@@ -215,6 +219,7 @@ bool cSandSimulator::IsReplacedOnRematerialization(BLOCKTYPE a_BlockType)
case E_BLOCK_STATIONARY_LAVA:
case E_BLOCK_STATIONARY_WATER:
case E_BLOCK_TALL_GRASS:
+ case E_BLOCK_VINES:
case E_BLOCK_WATER:
{
return true;