Add player to faction team when they log in
This commit is contained in:
parent
c049768e21
commit
49babcd4e8
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user