Add player to faction team when they log in

This commit is contained in:
eueln 2014-10-20 15:01:22 -05:00 committed by t00thpick1
parent c049768e21
commit 49babcd4e8

View File

@ -26,6 +26,9 @@ public class FScoreboard {
public static void init(FPlayer fplayer) { public static void init(FPlayer fplayer) {
fscoreboards.put(fplayer.getPlayer(), new FScoreboard(fplayer)); fscoreboards.put(fplayer.getPlayer(), new FScoreboard(fplayer));
if (fplayer.hasFaction()) {
FScoreboard.applyUpdates(fplayer.getFaction());
}
} }
public static void remove(FPlayer fplayer) { public static void remove(FPlayer fplayer) {