mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-03-12 14:39:12 +01:00
Can't increase to 0.
This commit is contained in:
parent
f22bf88824
commit
f057f39fde
@ -717,9 +717,9 @@ public class PlayerLocation {
|
||||
if (stepCorrection) {
|
||||
double ref = maxY + marginAboveEyeHeight;
|
||||
ref = ref - Location.locToBlock(ref) + 0.35;
|
||||
for (double bound = 1.0; bound >= 0.0; bound -= 0.25) {
|
||||
for (double bound = 1.0; bound > 0.0; bound -= 0.25) {
|
||||
if (ref >= bound) {
|
||||
// Use this for correction.
|
||||
// Use this level for correction.
|
||||
marginAboveEyeHeight += bound + 0.35 - ref;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user