Fixed party bug with expiring invitees.

This commit is contained in:
Jonathan Williams 2013-09-11 13:59:26 -07:00
parent a02b726303
commit 4ec728d6cb

View File

@ -198,11 +198,10 @@ public class Party
while (inviteeIterator.hasNext())
{
String name = inviteeIterator.next();
Player invitee = UtilPlayer.searchExact(name);
if (UtilTime.elapsed(_invitee.get(invitee.getName()), 60000))
if (UtilTime.elapsed(_invitee.get(name), 60000))
{
Announce(F.name(invitee.getName()) + " did not respond to the Party ivnite.");
Announce(F.name(name) + " did not respond to the Party ivnite.");
inviteeIterator.remove();
}
}