diff --git a/hub/src/main/java/zone/themcgamer/hub/scoreboard/HubScoreboard.java b/hub/src/main/java/zone/themcgamer/hub/scoreboard/HubScoreboard.java index 3093d2d..b15b143 100644 --- a/hub/src/main/java/zone/themcgamer/hub/scoreboard/HubScoreboard.java +++ b/hub/src/main/java/zone/themcgamer/hub/scoreboard/HubScoreboard.java @@ -40,7 +40,7 @@ public class HubScoreboard extends WritableScoreboard { @Override public void writeLines() { Optional optionalAccount = AccountManager.fromCache(player.getUniqueId()); - if (!optionalAccount.isPresent()) { + if (optionalAccount.isEmpty()) { writeBlank(); return; }