mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-04 03:10:27 +02:00
Spaces/comment.
This commit is contained in:
parent
a5d6594591
commit
0973149f0f
|
@ -42,6 +42,7 @@ public class Angle extends Check {
|
|||
boolean cancel = false;
|
||||
|
||||
// Remove the old locations from the map.
|
||||
// TODO: Use a linked list and make one iteration only (remove with Iterator).
|
||||
for (final long time : new TreeMap<Long, Location>(data.angleHits).navigableKeySet()) {
|
||||
if (System.currentTimeMillis() - time > 1000L) {
|
||||
data.angleHits.remove(time);
|
||||
|
|
Loading…
Reference in New Issue
Block a user