Skip to content

Commit

Permalink
chore(PlayerRegistryListener): remove condition block in onAsyncPreLo…
Browse files Browse the repository at this point in the history
…gin method
  • Loading branch information
aivruu committed Dec 29, 2024
1 parent 5ed7574 commit c1f28dd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ public PlayerRegistryListener(final @NotNull ComponentLogger logger, final @NotN

@EventHandler
public void onAsyncPreLogin(final @NotNull AsyncPlayerPreLoginEvent event) {
if (!this.playerManagerService.loadOne(event.getUniqueId().toString())) {
this.logger.error(Component.text("Couldn't load this player's information.").color(NamedTextColor.YELLOW));
}
this.playerManagerService.loadOne(event.getUniqueId().toString());
}

@EventHandler
Expand Down

0 comments on commit c1f28dd

Please sign in to comment.