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

View File

@ -6,7 +6,10 @@ Key:
= Fix
! Change
- Removal
Version 1.3.11
= Fixed bug where mcMMO would ignore other block-protection plugins for various abilities
Version 1.3.10
+ Added 1.3.1 compatibility
+ Added permission node for Iron Grip ability (mcmmo.ability.unarmed.irongrip)

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>1.3.10</version>
<version>1.3.11</version>
<name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url>
<issueManagement>

View File

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

View File

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