We need to preserve block data with our double drops for silk touch. Fixes #2625

This commit is contained in:
t00thpick1 2015-07-25 22:30:22 -04:00
parent 2aade8b7ff
commit eff53d90ab
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Key:
Version 1.5.04-SNAPSHOT Version 1.5.04-SNAPSHOT
= Fixed bug where absorption hearts could be attacked by allied players = Fixed bug where absorption hearts could be attacked by allied players
= Fixed bug where new forms of stone would drop the wrong type when mined with Silk Touch
Version 1.5.03 Version 1.5.03
= Fixed bug where blocks would not get tracked correctly when using sticky pistons and slime blocks in certain situations = Fixed bug where blocks would not get tracked correctly when using sticky pistons and slime blocks in certain situations

View File

@ -64,7 +64,8 @@ public class Mining {
case QUARTZ_ORE: case QUARTZ_ORE:
case REDSTONE_ORE: case REDSTONE_ORE:
case STONE: case STONE:
Misc.dropItem(blockState.getLocation(), new ItemStack(blockType)); case PRISMARINE:
Misc.dropItem(blockState.getLocation(), blockState.getData().toItemStack(1));
return; return;
default: default: