Hotfix scoreboard
Dieser Commit ist enthalten in:
Ursprung
8c930a77bd
Commit
61a667ae98
@ -62,6 +62,8 @@ public class SWScoreboard {
|
|||||||
throw new SecurityException("Could not send scoreboard packets", e);
|
throw new SecurityException("Could not send scoreboard packets", e);
|
||||||
}
|
}
|
||||||
Bukkit.getScheduler().runTaskLater(Core.getInstance(), () -> {
|
Bukkit.getScheduler().runTaskLater(Core.getInstance(), () -> {
|
||||||
|
if(!player.isOnline())
|
||||||
|
return;
|
||||||
try {
|
try {
|
||||||
ProtocolLibrary.getProtocolManager().sendServerPacket(player, DISPLAY_SIDEBAR[toggle]);
|
ProtocolLibrary.getProtocolManager().sendServerPacket(player, DISPLAY_SIDEBAR[toggle]);
|
||||||
} catch (InvocationTargetException e) {
|
} catch (InvocationTargetException e) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren