From fd54912c6733fdba0f3bf177e73b8fd8e584db53 Mon Sep 17 00:00:00 2001 From: MauveCloud Date: Sun, 12 Mar 2017 12:53:08 -0700 Subject: [PATCH] Completed fix for #916 Note: I did test to make sure a silk touch pick would drop the plain forms instead of the cobblestone variants. --- .../gregtech/common/blocks/GT_Block_Stones_Abstract.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java b/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java index fd3fff28..f38f23e5 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java @@ -116,7 +116,11 @@ public abstract class GT_Block_Stones_Abstract extends GT_Generic_Block implemen @Override public List getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune) { - return Lists.newArrayList(new ItemStack(this, 1, state.getValue(METADATA))); + int metadata = (int) state.getValue(METADATA); + if (metadata % 8 == 0) { + metadata++; + } + return Lists.newArrayList(new ItemStack(this, 1, metadata)); } @SideOnly(Side.CLIENT)