diff --git a/common/src/main/java/me/lucko/luckperms/common/storage/backing/MongoDBBacking.java b/common/src/main/java/me/lucko/luckperms/common/storage/backing/MongoDBBacking.java index fb7fae64..2d178fa6 100644 --- a/common/src/main/java/me/lucko/luckperms/common/storage/backing/MongoDBBacking.java +++ b/common/src/main/java/me/lucko/luckperms/common/storage/backing/MongoDBBacking.java @@ -335,7 +335,7 @@ public class MongoDBBacking extends AbstractBacking { while (cursor.hasNext()) { Document d = cursor.next(); - UUID holder = UUID.fromString(d.getString("_id")); + UUID holder = d.get("_id", UUID.class); Map perms = revert((Map) d.get("perms")); for (Map.Entry e : perms.entrySet()) {