From f7091e1b19177e167b73c2bd4b365426f43b97bc Mon Sep 17 00:00:00 2001 From: Elias Thomson <60849082+theophriene@users.noreply.github.com> Date: Thu, 17 Sep 2020 21:03:02 +0000 Subject: [PATCH] Fixed leaves and wheat not breakable with piston (#4882) * Fixed leaves and wheat not breakable with piston * Fixed alpha-sort * Add beetroots Co-authored-by: Elias Thomson --- src/BlockInfo.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp index 41c8536a7..f7f2b392c 100644 --- a/src/BlockInfo.cpp +++ b/src/BlockInfo.cpp @@ -949,6 +949,7 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() 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_BEETROOTS ].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; @@ -987,11 +988,13 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() Info[E_BLOCK_LIME_SHULKER_BOX ].m_PistonBreakable = true; Info[E_BLOCK_LADDER ].m_PistonBreakable = true; Info[E_BLOCK_LAVA ].m_PistonBreakable = true; + Info[E_BLOCK_LEAVES ].m_PistonBreakable = true; Info[E_BLOCK_LEVER ].m_PistonBreakable = true; Info[E_BLOCK_MAGENTA_SHULKER_BOX ].m_PistonBreakable = true; Info[E_BLOCK_MELON ].m_PistonBreakable = true; Info[E_BLOCK_MELON_STEM ].m_PistonBreakable = true; Info[E_BLOCK_NETHER_WART ].m_PistonBreakable = true; + Info[E_BLOCK_OAK_DOOR ].m_PistonBreakable = true; Info[E_BLOCK_ORANGE_SHULKER_BOX ].m_PistonBreakable = true; Info[E_BLOCK_PINK_SHULKER_BOX ].m_PistonBreakable = true; Info[E_BLOCK_POTATOES ].m_PistonBreakable = true; @@ -1022,9 +1025,9 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() Info[E_BLOCK_VINES ].m_PistonBreakable = true; Info[E_BLOCK_WALLSIGN ].m_PistonBreakable = true; Info[E_BLOCK_WATER ].m_PistonBreakable = true; + Info[E_BLOCK_WHEAT ].m_PistonBreakable = true; Info[E_BLOCK_WHITE_SHULKER_BOX ].m_PistonBreakable = true; Info[E_BLOCK_WOODEN_BUTTON ].m_PistonBreakable = true; - Info[E_BLOCK_OAK_DOOR ].m_PistonBreakable = true; Info[E_BLOCK_WOODEN_PRESSURE_PLATE ].m_PistonBreakable = true; Info[E_BLOCK_YELLOW_SHULKER_BOX ].m_PistonBreakable = true;