mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-30 20:37:52 +01:00
SF: don't clear tags with bunny and hbuffer.
This commit is contained in:
parent
b2f513b1ad
commit
3bb18c5c35
@ -124,8 +124,7 @@ public class SurvivalFly extends Check {
|
||||
// Don't set "useWorkaround = x()", to avoid potential trouble with
|
||||
// reordering to come, and similar.
|
||||
boolean useWorkaround = false;
|
||||
boolean setBackSafe = false; // Let compiler remove this if
|
||||
// necessary.
|
||||
boolean setBackSafe = false; // Let compiler remove this if necessary.
|
||||
// Check for moving off stairs.
|
||||
if (!useWorkaround && from.isAboveStairs()) {
|
||||
useWorkaround = true;
|
||||
@ -254,7 +253,6 @@ public class SurvivalFly extends Check {
|
||||
if (data.bunnyhopDelay <= 0 && hDistanceAboveLimit > 0.05D && hDistanceAboveLimit < 0.28D) {
|
||||
data.bunnyhopDelay = 9;
|
||||
hDistanceAboveLimit = 0D;
|
||||
tags.clear();
|
||||
tags.add("bunny"); // TODO: Which here...
|
||||
}
|
||||
|
||||
@ -268,7 +266,6 @@ public class SurvivalFly extends Check {
|
||||
data.horizontalBuffer = -hDistanceAboveLimit;
|
||||
}
|
||||
if (hDistanceAboveLimit <= 0){
|
||||
tags.clear();
|
||||
tags.add("hbuffer"); // TODO: ...
|
||||
}
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user