diff --git a/Changelog.txt b/Changelog.txt index b2352cd37..02702715f 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -38,6 +38,7 @@ Version 1.3.06 + Added API functions for admin & party chat + Added Iron Grip skill to Unarmed which gives players an chance to keep from being disarmed. + Added some new languages to the locale files. + = Fixed Iron Grip working reversely = Fixed Green Thumb consuming 2 seeds instead of 1 = Fixed exploit where you could teleport to yourself with PTP to prevent things like fall damage = Fixed NPE error with Metrics on startup diff --git a/src/main/java/com/gmail/nossr50/skills/combat/Unarmed.java b/src/main/java/com/gmail/nossr50/skills/combat/Unarmed.java index 844da6159..7f83f37ee 100644 --- a/src/main/java/com/gmail/nossr50/skills/combat/Unarmed.java +++ b/src/main/java/com/gmail/nossr50/skills/combat/Unarmed.java @@ -54,7 +54,7 @@ public class Unarmed { ItemStack inHand = defender.getItemInHand(); if (!inHand.getType().equals(Material.AIR)) { - if (random.nextInt(3000) <= skillCheck && ironGrip(defender, attacker)) { + if (random.nextInt(3000) <= skillCheck && !ironGrip(defender, attacker)) { defender.sendMessage(LocaleLoader.getString("Skills.Disarmed")); Misc.mcDropItem(defender.getLocation(), inHand);