Merge remote-tracking branch 'origin/master'

This commit is contained in:
Rainnny7 2021-02-19 15:27:11 -05:00
commit 7c9b72c23a

View File

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