mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 05:02:35 +00:00
Fix cast to long in MongoStorage
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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