mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-03 10:50:27 +02:00
Balance maxphase violation better with default config.
This commit is contained in:
parent
dba567ee2b
commit
ed4b551c08
|
@ -298,7 +298,7 @@ public class SurvivalFly extends Check {
|
|||
else if (!data.sfDirty){
|
||||
// Violation (Too high jumping or step).
|
||||
tags.add("maxphase");
|
||||
vDistanceAboveLimit = Math.max(vDistanceAboveLimit, 1.0);
|
||||
vDistanceAboveLimit = Math.max(vDistanceAboveLimit, Math.max(yDistance, 0.5));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user