mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Better like this
This commit is contained in:
parent
0838cbb874
commit
864a760e9c
@ -149,7 +149,7 @@ public class AcrobaticsManager extends SkillManager {
|
|||||||
fallTries = sameLocation ? Math.min(fallTries + 1, maxTries) : Math.max(fallTries - 1, 0);
|
fallTries = sameLocation ? Math.min(fallTries + 1, maxTries) : Math.max(fallTries - 1, 0);
|
||||||
lastFallLocation = fallLocation;
|
lastFallLocation = fallLocation;
|
||||||
|
|
||||||
return fallTries >= maxTries;
|
return fallTries + 1 > maxTries;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isFatal(double damage) {
|
private boolean isFatal(double damage) {
|
||||||
|
Loading…
Reference in New Issue
Block a user