From 864a760e9c39abc42bc518142da4eeaa67cf6b2a Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Sat, 4 Oct 2014 14:16:38 +0200 Subject: [PATCH] Better like this --- .../com/gmail/nossr50/skills/acrobatics/AcrobaticsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/acrobatics/AcrobaticsManager.java b/src/main/java/com/gmail/nossr50/skills/acrobatics/AcrobaticsManager.java index e396b78be..c8b4f7fd1 100644 --- a/src/main/java/com/gmail/nossr50/skills/acrobatics/AcrobaticsManager.java +++ b/src/main/java/com/gmail/nossr50/skills/acrobatics/AcrobaticsManager.java @@ -149,7 +149,7 @@ public class AcrobaticsManager extends SkillManager { fallTries = sameLocation ? Math.min(fallTries + 1, maxTries) : Math.max(fallTries - 1, 0); lastFallLocation = fallLocation; - return fallTries >= maxTries; + return fallTries + 1 > maxTries; } private boolean isFatal(double damage) {