From 9ddb91f7fdbefdad0807e7cc4b3b50cf05b62951 Mon Sep 17 00:00:00 2001 From: asofold Date: Tue, 29 Jan 2013 16:36:12 +0100 Subject: [PATCH] Add comment. --- .../neatmonster/nocheatplus/checks/moving/MovingListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java index 568aca6a..6f9cee19 100644 --- a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java +++ b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/moving/MovingListener.java @@ -1108,6 +1108,8 @@ public class MovingListener extends CheckListener implements TickListener, IRemo else info = parkedInfo.remove(parkedInfo.size() - 1); final List rem = new ArrayList(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);