summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorElias Thomson <60849082+theophriene@users.noreply.github.com>2020-09-15 21:47:23 +0200
committerGitHub <noreply@github.com>2020-09-15 21:47:23 +0200
commita90dedffeba758fa7b7e625b43a3b400da6e5d31 (patch)
tree323459c09f7353852711ee7af470f69e84498240 /src
parentRail: avoid invalid game states (#4864) (diff)
downloadcuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.tar
cuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.tar.gz
cuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.tar.bz2
cuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.tar.lz
cuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.tar.xz
cuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.tar.zst
cuberite-a90dedffeba758fa7b7e625b43a3b400da6e5d31.zip
Diffstat (limited to 'src')
-rw-r--r--src/BlockInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index a967b9acf..78ae4c24c 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -947,10 +947,12 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray()
// Blocks that break when pushed by piston:
+ Info[E_BLOCK_ACACIA_DOOR ].m_PistonBreakable = true;
Info[E_BLOCK_ACTIVE_COMPARATOR ].m_PistonBreakable = true;
Info[E_BLOCK_AIR ].m_PistonBreakable = true;
Info[E_BLOCK_BED ].m_PistonBreakable = true;
Info[E_BLOCK_BIG_FLOWER ].m_PistonBreakable = true;
+ Info[E_BLOCK_BIRCH_DOOR ].m_PistonBreakable = true;
Info[E_BLOCK_BLACK_SHULKER_BOX ].m_PistonBreakable = true;
Info[E_BLOCK_BLUE_SHULKER_BOX ].m_PistonBreakable = true;
Info[E_BLOCK_BROWN_MUSHROOM ].m_PistonBreakable = true;
@@ -965,6 +967,7 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray()
Info[E_BLOCK_CROPS ].m_PistonBreakable = true;
Info[E_BLOCK_CYAN_SHULKER_BOX ].m_PistonBreakable = true;
Info[E_BLOCK_DANDELION ].m_PistonBreakable = true;
+ Info[E_BLOCK_DARK_OAK_DOOR ].m_PistonBreakable = true;
Info[E_BLOCK_DEAD_BUSH ].m_PistonBreakable = true;
Info[E_BLOCK_DRAGON_EGG ].m_PistonBreakable = true;
Info[E_BLOCK_FIRE ].m_PistonBreakable = true;
@@ -978,6 +981,7 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray()
Info[E_BLOCK_IRON_DOOR ].m_PistonBreakable = true;
Info[E_BLOCK_IRON_TRAPDOOR ].m_PistonBreakable = true;
Info[E_BLOCK_JACK_O_LANTERN ].m_PistonBreakable = true;
+ Info[E_BLOCK_JUNGLE_DOOR ].m_PistonBreakable = true;
Info[E_BLOCK_LIGHT_BLUE_SHULKER_BOX ].m_PistonBreakable = true;
Info[E_BLOCK_LIGHT_GRAY_SHULKER_BOX ].m_PistonBreakable = true;
Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE].m_PistonBreakable = true;
@@ -1007,6 +1011,7 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray()
Info[E_BLOCK_SAPLING ].m_PistonBreakable = true;
Info[E_BLOCK_SIGN_POST ].m_PistonBreakable = true;
Info[E_BLOCK_SNOW ].m_PistonBreakable = true;
+ Info[E_BLOCK_SPRUCE_DOOR ].m_PistonBreakable = true;
Info[E_BLOCK_STATIONARY_LAVA ].m_PistonBreakable = true;
Info[E_BLOCK_STATIONARY_WATER ].m_PistonBreakable = true;
Info[E_BLOCK_STONE_BUTTON ].m_PistonBreakable = true;