diff --git a/src/com/iCo6/listeners/players.java b/src/com/iCo6/listeners/players.java index f7d09d6..1e17897 100644 --- a/src/com/iCo6/listeners/players.java +++ b/src/com/iCo6/listeners/players.java @@ -14,7 +14,7 @@ public void onPlayerJoin(PlayerJoinEvent event) { Player player = event.getPlayer(); if(player != null) - if(!accounts.exists(player.getName())) - accounts.create(player.getName()); + if(!accounts.exists(player.getUniqueId())) + accounts.create(player.getUniqueId()); } }