mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-16 12:31:28 +01:00
Make vertical accounting slightly less strict.
This commit is contained in:
parent
5cdb050784
commit
d5a181a91a
@ -598,8 +598,8 @@ public class SurvivalFly extends Check {
|
|||||||
final float sc1 = sum.bucketScore(1);
|
final float sc1 = sum.bucketScore(1);
|
||||||
final float sc2 = sum.bucketScore(2);
|
final float sc2 = sum.bucketScore(2);
|
||||||
final double diff = sc1 - sc2;
|
final double diff = sc1 - sc2;
|
||||||
if (diff > 0 || value > -1.5 && diff == 0) {
|
if (diff > 0 || value > -1.3 && diff == 0) {
|
||||||
if (value < -1.5 && (Math.abs(diff) < Math.abs(value) || sc2 < - 10)){
|
if (value < -1.3 && (Math.abs(diff) < Math.abs(value) || sc2 < - 10)){
|
||||||
tags.add(tag+"grace");
|
tags.add(tag+"grace");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user