Skip to content

Commit

Permalink
Final player data changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Refrac committed Mar 17, 2024
1 parent f9bcc95 commit 3358808
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class PlayerListener implements Listener {
private final UUID getDevUUID2 = UUID.fromString("ab898e40-9088-45eb-9d69-e0b78e872627");

@EventHandler
public void onPreLogin(AsyncPlayerPreLoginEvent event) {
SimpleTags.getInstance().getProfileManager().handleProfileCreation(event.getUniqueId(), event.getName());
public void onPreLogin(PlayerLoginEvent event) {
SimpleTags.getInstance().getProfileManager().handleProfileCreation(event.getPlayer().getUniqueId(), event.getPlayer().getName());
}

@EventHandler
Expand Down

0 comments on commit 3358808

Please sign in to comment.