Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Aug 7, 2017
1 parent 47e9e9a commit 07281a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public String getUUID(String playerName) {
for (String uuid : UserManager.getInstance().getAllUUIDs()) {
User user = UserManager.getInstance().getUser(new UUID(uuid));
String name = user.getData().getString("PlayerName");
if (!name.equals("")) {
if (name.equals(playerName)) {
return uuid;
}
}
Expand Down

0 comments on commit 07281a2

Please sign in to comment.