This commit is contained in:
nickreesdev 2021-02-19 14:25:36 -06:00
parent 84301825e6
commit 363fd897df

View File

@ -39,9 +39,8 @@ public class HubScoreboard extends WritableScoreboard {
@Override
public void writeLines() {
// Test
Optional<Account> optionalAccount = AccountManager.fromCache(player.getUniqueId());
if (!optionalAccount.isPresent()) {
if (optionalAccount.isEmpty()) {
writeBlank();
return;
}