Properly handle player kick before PlayerJoinEvent

Fixes #104
This commit is contained in:
eueln 2014-10-31 13:22:45 -05:00
parent 3e15189c11
commit 6c70a7d105

View File

@ -40,9 +40,11 @@ public class FScoreboard {
public static void remove(FPlayer fplayer) {
FScoreboard fboard = fscoreboards.remove(fplayer);
if (fboard != null) {
fboard.removed = true;
FTeamWrapper.untrack(fboard);
}
}
public static FScoreboard get(FPlayer fplayer) {
return fscoreboards.get(fplayer);