1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-06 07:34:43 +02:00

Did somebody say HOTFIX?

This commit is contained in:
nossr50
2012-08-14 13:52:31 -07:00
parent ed6f48b5fe
commit 3934392219
4 changed files with 7 additions and 4 deletions
Changelog.txtpom.xml
src/main/java/com/gmail/nossr50/skills/gathering

@ -124,7 +124,7 @@ public class Excavation {
public static void gigaDrillBreaker(Player player, Block block) {
Skills.abilityDurabilityLoss(player.getItemInHand(), Config.getInstance().getAbilityToolDamage());
if (!mcMMO.placeStore.isTrue(block)) {
if (!mcMMO.placeStore.isTrue(block) || !Misc.blockBreakSimulate(block, player, true)) {
FakePlayerAnimationEvent armswing = new FakePlayerAnimationEvent(player);
mcMMO.p.getServer().getPluginManager().callEvent(armswing);

@ -340,7 +340,7 @@ public class Mining {
return;
}
if (mcMMO.placeStore.isTrue(block)) {
if (mcMMO.placeStore.isTrue(block) || Misc.blockBreakSimulate(block, player, true)) {
return;
}