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:
parent
53d832369b
commit
aa88c974fd
@ -70,7 +70,7 @@ public class FPlayers extends PlayerEntityCollection<FPlayer>
|
||||
fplayer.getFaction().promoteNewLeader();
|
||||
|
||||
fplayer.leave(false);
|
||||
fplayer.markForDeletion(true);
|
||||
fplayer.detach();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -625,7 +625,7 @@ public class FactionsPlayerListener extends PlayerListener
|
||||
badGuy.getFaction().promoteNewLeader();
|
||||
|
||||
badGuy.leave(false);
|
||||
badGuy.markForDeletion(true);
|
||||
badGuy.detach();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user