mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-02 02:42:33 +02:00
Fix cast to long in MongoStorage
This commit is contained in:
@@ -667,7 +667,7 @@ public class MongoStorage implements StorageImplementation {
|
||||
}
|
||||
|
||||
if (document.containsKey("expiry")) {
|
||||
builder.expiry(document.getLong("expiry"));
|
||||
builder.expiry((long) document.get("expiry"));
|
||||
}
|
||||
|
||||
if (document.containsKey("context") && document.get("context") instanceof List) {
|
||||
|
Reference in New Issue
Block a user