Fixed custom blocks dropping the wrong thing with Super Breaker & Silk

Touch
This commit is contained in:
GJ 2012-07-04 10:33:20 -04:00
parent cefec723d0
commit 3f8268d848
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;
} }