Fixed party bug with expiring invitees.
This commit is contained in:
parent
a02b726303
commit
4ec728d6cb
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user