mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed custom blocks dropping the wrong thing with Super Breaker & Silk
Touch
This commit is contained in:
parent
cefec723d0
commit
3f8268d848
@ -25,6 +25,7 @@ Version 1.3.10-dev
|
|||||||
= Fixed ArrayIndexOutOfBounds error caused when trying to use /xplock after logging in but before gaining XP
|
= Fixed ArrayIndexOutOfBounds error caused when trying to use /xplock after logging in but before gaining XP
|
||||||
= Fixed custom tools not properly respecting the Ability_Enabled flag.
|
= Fixed custom tools not properly respecting the Ability_Enabled flag.
|
||||||
= Fixed "lower tool" messages still being displayed even when ability messages are disabled.
|
= Fixed "lower tool" messages still being displayed even when ability messages are disabled.
|
||||||
|
= Fixed custom blocks not dropping the proper item with Super Breaker when Silk Touch is used
|
||||||
! Optimized how player placed blocks are tracked
|
! Optimized how player placed blocks are tracked
|
||||||
|
|
||||||
Version 1.3.09
|
Version 1.3.09
|
||||||
|
@ -88,7 +88,7 @@ public class Mining {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
if (ModChecks.isCustomMiningBlock(block)) {
|
if (ModChecks.isCustomMiningBlock(block)) {
|
||||||
Misc.dropItem(loc, item);
|
Misc.dropItem(loc, new ItemStack(block.getTypeId(), 1, (short) 0, block.getData()));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user