Players auto-removed due to inactivity or due to being banned now have their data deleted immediately; this should fix the log spam of the same players repeatedly being marked for deletion

This commit is contained in:
Brettflan 2012-01-09 21:38:00 -06:00
parent 53d832369b
commit aa88c974fd
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public class FPlayers extends PlayerEntityCollection<FPlayer>
fplayer.getFaction().promoteNewLeader();
fplayer.leave(false);
fplayer.markForDeletion(true);
fplayer.detach();
}
}
}

View File

@ -625,7 +625,7 @@ public class FactionsPlayerListener extends PlayerListener
badGuy.getFaction().promoteNewLeader();
badGuy.leave(false);
badGuy.markForDeletion(true);
badGuy.detach();
}
}
}