From: David ‘Bombe’ Roden Date: Mon, 19 Sep 2011 19:17:49 +0000 (+0200) Subject: Scan for targets before iterating over targets. X-Git-Tag: 0.0.8^2~8 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=304ebe78f167327f9b923bea7e694409fb76db60;p=WoTNS.git Scan for targets before iterating over targets. --- 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(); }