summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-10-01 19:26:36 +0200
committerMasy98 <masy@antheruscraft.de>2014-10-01 19:26:36 +0200
commit3591edd47ee2290742b79e958439b475c1901c7c (patch)
tree5c18acdc4ad61ede520fd124952c475fb0430060 /src/Items/ItemHandler.cpp
parentMerge branch 'master' into blocks (diff)
downloadcuberite-3591edd47ee2290742b79e958439b475c1901c7c.tar
cuberite-3591edd47ee2290742b79e958439b475c1901c7c.tar.gz
cuberite-3591edd47ee2290742b79e958439b475c1901c7c.tar.bz2
cuberite-3591edd47ee2290742b79e958439b475c1901c7c.tar.lz
cuberite-3591edd47ee2290742b79e958439b475c1901c7c.tar.xz
cuberite-3591edd47ee2290742b79e958439b475c1901c7c.tar.zst
cuberite-3591edd47ee2290742b79e958439b475c1901c7c.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r--src/Items/ItemHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index dbfba14a7..912dde022 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -588,6 +588,7 @@ bool cItemHandler::CanHarvestBlock(BLOCKTYPE a_BlockType)
case E_BLOCK_LAPIS_BLOCK:
case E_BLOCK_LAPIS_ORE:
case E_BLOCK_LIT_FURNACE:
+ case E_BLOCK_MOB_SPAWNER:
case E_BLOCK_MOSSY_COBBLESTONE:
case E_BLOCK_NETHER_BRICK:
case E_BLOCK_NETHER_BRICK_STAIRS:
@@ -595,6 +596,7 @@ bool cItemHandler::CanHarvestBlock(BLOCKTYPE a_BlockType)
case E_BLOCK_NETHERRACK:
case E_BLOCK_NEW_STONE_SLAB:
case E_BLOCK_OBSIDIAN:
+ case E_BLOCK_PACKED_ICE:
case E_BLOCK_PRISMARINE_BLOCK:
case E_BLOCK_RED_SANDSTONE:
case E_BLOCK_RED_SANDSTONE_STAIRS:
@@ -609,8 +611,6 @@ bool cItemHandler::CanHarvestBlock(BLOCKTYPE a_BlockType)
case E_BLOCK_STONE_PRESSURE_PLATE:
case E_BLOCK_STONE_SLAB:
case E_BLOCK_VINES:
- case E_BLOCK_PACKED_ICE:
- case E_BLOCK_MOB_SPAWNER:
{
return false;
}