Skip to content

Commit 07281a2

Browse files
committed
Bug fix
1 parent 47e9e9a commit 07281a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AdvancedCore/src/com/Ben12345rocks/AdvancedCore/Util/Misc/PlayerUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public String getUUID(String playerName) {
130130
for (String uuid : UserManager.getInstance().getAllUUIDs()) {
131131
User user = UserManager.getInstance().getUser(new UUID(uuid));
132132
String name = user.getData().getString("PlayerName");
133-
if (!name.equals("")) {
133+
if (name.equals(playerName)) {
134134
return uuid;
135135
}
136136
}

0 commit comments

Comments
 (0)