mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-05 03:31:09 +02:00
Add comment.
This commit is contained in:
parent
4e6c2bc8c6
commit
9ddb91f7fd
|
@ -1108,6 +1108,8 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
|||
else info = parkedInfo.remove(parkedInfo.size() - 1);
|
||||
final List<String> rem = new ArrayList<String>(hoverTicks.size()); // Pessimistic.
|
||||
for (final String playerName : hoverTicks){
|
||||
// TODO: put players into the set (+- one tick would not matter ?)
|
||||
// TODO: might add an online flag to data !
|
||||
final Player player = server.getPlayerExact(playerName);
|
||||
if (player == null || !player.isOnline()){
|
||||
rem.add(playerName);
|
||||
|
|
Loading…
Reference in New Issue
Block a user