From ccb2dc0afd837b4c29c4eef8b92ce8b7688e8345 Mon Sep 17 00:00:00 2001 From: astemus Date: Thu, 28 May 2015 19:14:11 -0400 Subject: [PATCH] Fix drops for stone types added in 1.8 --- src/main/java/com/gmail/nossr50/skills/mining/Mining.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/mining/Mining.java b/src/main/java/com/gmail/nossr50/skills/mining/Mining.java index f3654a778..50c9f127f 100644 --- a/src/main/java/com/gmail/nossr50/skills/mining/Mining.java +++ b/src/main/java/com/gmail/nossr50/skills/mining/Mining.java @@ -64,7 +64,12 @@ public class Mining { case QUARTZ_ORE: case REDSTONE_ORE: case STONE: - Misc.dropItem(blockState.getLocation(), new ItemStack(blockType)); + if (blockState.getData().getData() == 0x0) { + Misc.dropItem(blockState.getLocation(), new ItemStack(blockType)); + } + else { + handleMiningDrops(blockState); + } return; default: