From 3358808399ecbdef6d3fc494b1bb0cdbc3c4f65f Mon Sep 17 00:00:00 2001 From: Zachary Baldwin Date: Sun, 17 Mar 2024 00:47:54 -0500 Subject: [PATCH] Final player data changes --- .../simpletags/listeners/PlayerListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/refracdevelopment/simpletags/listeners/PlayerListener.java b/src/main/java/me/refracdevelopment/simpletags/listeners/PlayerListener.java index 8c693d6..c1dc256 100644 --- a/src/main/java/me/refracdevelopment/simpletags/listeners/PlayerListener.java +++ b/src/main/java/me/refracdevelopment/simpletags/listeners/PlayerListener.java @@ -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