mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
We need to preserve block data with our double drops for silk touch. Fixes #2625
This commit is contained in:
parent
2aade8b7ff
commit
eff53d90ab
@ -9,6 +9,7 @@ Key:
|
||||
|
||||
Version 1.5.04-SNAPSHOT
|
||||
= 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
|
||||
= Fixed bug where blocks would not get tracked correctly when using sticky pistons and slime blocks in certain situations
|
||||
|
@ -64,7 +64,8 @@ public class Mining {
|
||||
case QUARTZ_ORE:
|
||||
case REDSTONE_ORE:
|
||||
case STONE:
|
||||
Misc.dropItem(blockState.getLocation(), new ItemStack(blockType));
|
||||
case PRISMARINE:
|
||||
Misc.dropItem(blockState.getLocation(), blockState.getData().toItemStack(1));
|
||||
return;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user