mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-04-09 21:05:49 +02:00
Add tag "buffer", if buffer negated distance above limit.
This commit is contained in:
parent
8dde53b9ba
commit
10db15c8f6
@ -267,7 +267,7 @@ public class SurvivalFly extends Check {
|
||||
if (hDistanceAboveLimit < 0D){
|
||||
data.horizontalBuffer = -hDistanceAboveLimit;
|
||||
}
|
||||
if (hDistanceAboveLimit >= 0){
|
||||
if (hDistanceAboveLimit <= 0){
|
||||
tags.clear();
|
||||
tags.add("hbuffer"); // TODO: ...
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user