Merge pull request #1 from nickreesdev/master

Testing
This commit is contained in:
Braydon 2021-02-19 15:26:43 -05:00 committed by GitHub
commit e6c9109ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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