summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMathias <mathias-github@users.noreply.github.com>2016-01-03 15:27:02 +0100
committerMathias <mathias-github@users.noreply.github.com>2016-01-03 15:27:02 +0100
commit8e2b2e7a189fd62fdd07347684ad8b53e305aec9 (patch)
treed4eee78b1571fb491b042d382fec6a0c067a786b /src
parentMerge pull request #2842 from ameuret/typo-ammount (diff)
downloadcuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.tar
cuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.tar.gz
cuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.tar.bz2
cuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.tar.lz
cuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.tar.xz
cuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.tar.zst
cuberite-8e2b2e7a189fd62fdd07347684ad8b53e305aec9.zip
Diffstat (limited to 'src')
-rw-r--r--src/Blocks/BlockHandler.cpp29
1 files changed, 28 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 0ad0e2242..22b70f590 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -453,22 +453,49 @@ void cBlockHandler::DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterfac
{
switch (m_BlockType)
{
+ case E_BLOCK_ACACIA_DOOR:
+ case E_BLOCK_ACTIVE_COMPARATOR:
+ case E_BLOCK_BED:
+ case E_BLOCK_BIRCH_DOOR:
+ case E_BLOCK_BREWING_STAND:
case E_BLOCK_CAKE:
case E_BLOCK_CARROTS:
+ case E_BLOCK_CAULDRON:
case E_BLOCK_COCOA_POD:
+ case E_BLOCK_CROPS:
+ case E_BLOCK_DARK_OAK_DOOR:
+ case E_BLOCK_DOUBLE_RED_SANDSTONE_SLAB:
case E_BLOCK_DOUBLE_STONE_SLAB:
case E_BLOCK_DOUBLE_WOODEN_SLAB:
case E_BLOCK_FIRE:
case E_BLOCK_FARMLAND:
+ case E_BLOCK_FLOWER_POT:
+ case E_BLOCK_HEAD:
+ case E_BLOCK_INACTIVE_COMPARATOR:
+ case E_BLOCK_INVERTED_DAYLIGHT_SENSOR:
+ case E_BLOCK_IRON_DOOR:
+ case E_BLOCK_JUNGLE_DOOR:
case E_BLOCK_MELON_STEM:
case E_BLOCK_MOB_SPAWNER:
case E_BLOCK_NETHER_WART:
+ case E_BLOCK_OAK_DOOR:
+ case E_BLOCK_PISTON_EXTENSION:
case E_BLOCK_POTATOES:
case E_BLOCK_PUMPKIN_STEM:
+ case E_BLOCK_REDSTONE_ORE_GLOWING:
+ case E_BLOCK_REDSTONE_REPEATER_OFF:
+ case E_BLOCK_REDSTONE_REPEATER_ON:
+ case E_BLOCK_REDSTONE_TORCH_OFF:
+ case E_BLOCK_REDSTONE_WIRE:
+ case E_BLOCK_SIGN_POST:
case E_BLOCK_SNOW:
+ case E_BLOCK_SPRUCE_DOOR:
+ case E_BLOCK_STANDING_BANNER:
case E_BLOCK_SUGARCANE:
case E_BLOCK_TALL_GRASS:
- case E_BLOCK_CROPS:
+ case E_BLOCK_TRIPWIRE:
+ case E_BLOCK_WALL_BANNER:
+ case E_BLOCK_WALLSIGN:
{
// Silktouch can't be used for these blocks
ConvertToPickups(Pickups, Meta);