mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-11 18:27:47 +01:00
Just a typo.
This commit is contained in:
parent
a0091f92d0
commit
2478ae787b
@ -32,7 +32,8 @@ public class FastHeal extends Check {
|
||||
else{
|
||||
// Violation.
|
||||
final double correctedDiff = ((double) time - data.fastHealRefTime) * TickTask.getLag(cc.fastHealInterval);
|
||||
// TODO: Consider using a simple buffer as well (to get closer to the correct interva).
|
||||
// TODO: Consider using a simple buffer as well (to get closer to the correct interval).
|
||||
// TODO: Check if we added a buffer.
|
||||
if (correctedDiff < cc.fastHealInterval){
|
||||
data.fastHealBuffer -= (cc.fastHealInterval - correctedDiff);
|
||||
if (data.fastHealBuffer <= 0){
|
||||
|
Loading…
Reference in New Issue
Block a user