1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-02 10:52:37 +02:00

Fix cast to long in MongoStorage

This commit is contained in:
Luck
2021-12-04 10:41:12 +00:00
parent f35a9b6a09
commit 9c0874162b

View File

@@ -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) {