From 304ebe78f167327f9b923bea7e694409fb76db60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 19 Sep 2011 21:17:49 +0200 Subject: [PATCH] Scan for targets before iterating over targets. --- src/main/java/net/pterodactylus/wotns/main/IdentityTargets.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/wotns/main/IdentityTargets.java b/src/main/java/net/pterodactylus/wotns/main/IdentityTargets.java index 1266874..0222820 100644 --- a/src/main/java/net/pterodactylus/wotns/main/IdentityTargets.java +++ b/src/main/java/net/pterodactylus/wotns/main/IdentityTargets.java @@ -74,6 +74,7 @@ public class IdentityTargets implements Iterable> { */ @Override public Iterator> iterator() { + scanForTargets(); return targets.entrySet().iterator(); } -- 2.7.4