mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-15 12:51:32 +01:00
Fix cast to long in MongoStorage
This commit is contained in:
parent
f35a9b6a09
commit
9c0874162b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user