Skip to content

Commit 7d4a2b0

Browse files
committed
fixed gedPotentionalUUIDFromName
1 parent 6db6060 commit 7d4a2b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

type.generic/src/main/java/net/swofty/type/generic/data/HypixelDataHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public static String getPotentialIGNFromUUID(UUID uuid) {
150150
}
151151

152152
public static @Nullable UUID getPotentialUUIDFromName(String name) throws RuntimeException {
153-
Document doc = UserDatabase.collection.find(new Document("ignLowercase", "\"" + name.toLowerCase() + "\"")).first();
153+
Document doc = ProfilesDatabase.collection.find(new Document("ignLowercase", "\"" + name.toLowerCase() + "\"")).first();
154154
if (doc == null)
155155
return null;
156156
return UUID.fromString(doc.getString("_id"));

0 commit comments

Comments
 (0)