Skip to content

Commit

Permalink
Fixed bug in Bungee platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed May 18, 2024
1 parent f1c52b4 commit 792af7b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ public void onLogin(LoginEvent event) {
@EventHandler(priority = EventPriority.LOWEST)
public void onPostLogin(PostLoginEvent event) {
FloodgatePlayer player = api.getPlayer(event.getPlayer().getUniqueId());
if (player == null) {
return;
}

// Skin look up (on Spigot and friends) would result in it failing, so apply a default skin
if (!player.isLinked()) {
Expand Down

0 comments on commit 792af7b

Please sign in to comment.