Dieser Commit ist enthalten in:
Ursprung
9439887785
Commit
6769fd88e7
@ -50,7 +50,9 @@ public class TablistManager extends BasicListener {
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public synchronized void onJoin(PostLoginEvent e){
|
public synchronized void onJoin(PostLoginEvent e){
|
||||||
BungeeCord.getInstance().getScheduler().schedule(BungeeCore.get(), () -> {
|
BungeeCord.getInstance().getScheduler().schedule(BungeeCore.get(), () -> {
|
||||||
tablists.put(e.getPlayer(), new Tablist(e.getPlayer()));
|
if (BungeeCord.getInstance().getPlayer(e.getPlayer().getUniqueId()) != null) {
|
||||||
|
tablists.put(e.getPlayer(), new Tablist(e.getPlayer()));
|
||||||
|
}
|
||||||
}, 1, TimeUnit.SECONDS);
|
}, 1, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren