mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-02-15 19:21:34 +01:00
Attempt to fix lilypad + swimup.
This commit is contained in:
parent
52797769a2
commit
ab068f0a2d
@ -256,7 +256,7 @@ public class SurvivalFly extends Check {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (data.verticalFreedom <= 0.001 && from.isInLiquid()){
|
else if (data.verticalFreedom <= 0.001 && from.isInLiquid() && (Math.abs(yDistance) > 0.2 || to.isInLiquid())){
|
||||||
// Swimming...
|
// Swimming...
|
||||||
if (yDistance >= 0){
|
if (yDistance >= 0){
|
||||||
// TODO: This is more simple to test.
|
// TODO: This is more simple to test.
|
||||||
|
Loading…
Reference in New Issue
Block a user