From 7fd3899796fbea45c5ff0a9bd45ce0a1feb73c2b Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Fri, 30 Jun 2017 10:46:58 +0200 Subject: Added 1.12 blocks (#3760) --- src/Simulator/SandSimulator.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Simulator/SandSimulator.cpp') 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; } -- cgit v1.2.3