Even simpler.

This commit is contained in:
GJ 2013-03-27 15:56:03 -04:00
parent 6fbfec48b0
commit 7d8888d47d

View File

@ -26,8 +26,7 @@ public class PartyAutoKickTask extends BukkitRunnable {
for (Iterator<Party> partyIterator = PartyManager.getParties().iterator(); partyIterator.hasNext();) {
Party party = partyIterator.next();
for (Iterator<OfflinePlayer> memberIterator = party.getMembers().iterator(); memberIterator.hasNext();) {
OfflinePlayer member = memberIterator.next();
for (OfflinePlayer member : party.getMembers()) {
if (currentTime - member.getLastPlayed() > kickTime) {
toRemove.put(member, party);
}