mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-03 03:12:46 +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")) {
|
if (document.containsKey("expiry")) {
|
||||||
builder.expiry(document.getLong("expiry"));
|
builder.expiry((long) document.get("expiry"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.containsKey("context") && document.get("context") instanceof List) {
|
if (document.containsKey("context") && document.get("context") instanceof List) {
|
||||||
|
Reference in New Issue
Block a user