We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db6060 commit 7d4a2b0Copy full SHA for 7d4a2b0
1 file changed
type.generic/src/main/java/net/swofty/type/generic/data/HypixelDataHandler.java
@@ -150,7 +150,7 @@ public static String getPotentialIGNFromUUID(UUID uuid) {
150
}
151
152
public static @Nullable UUID getPotentialUUIDFromName(String name) throws RuntimeException {
153
- Document doc = UserDatabase.collection.find(new Document("ignLowercase", "\"" + name.toLowerCase() + "\"")).first();
+ Document doc = ProfilesDatabase.collection.find(new Document("ignLowercase", "\"" + name.toLowerCase() + "\"")).first();
154
if (doc == null)
155
return null;
156
return UUID.fromString(doc.getString("_id"));
0 commit comments