Archiviert
1
0

Fix TablistManager

Dieser Commit ist enthalten in:
yoyosource 2022-06-08 16:06:31 +02:00
Ursprung 9439887785
Commit 6769fd88e7

Datei anzeigen

@ -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(), () -> {
if (BungeeCord.getInstance().getPlayer(e.getPlayer().getUniqueId()) != null) {
tablists.put(e.getPlayer(), new Tablist(e.getPlayer())); tablists.put(e.getPlayer(), new Tablist(e.getPlayer()));
}
}, 1, TimeUnit.SECONDS); }, 1, TimeUnit.SECONDS);
} }