Don’t load missing following times as Long.MAX_VALUE
[Sone.git] / src / main / java / net / pterodactylus / sone / database / memory / ConfigurationLoader.java
index bb82ee2..e471f0d 100644 (file)
@@ -75,7 +75,7 @@ public class ConfigurationLoader {
                        if (soneId == null) {
                                break;
                        }
-                       soneFollowingTimes.put(soneId, configuration.getLongValue("SoneFollowingTimes/" + soneCounter++ + "/Time").getValue(Long.MAX_VALUE));
+                       soneFollowingTimes.put(soneId, configuration.getLongValue("SoneFollowingTimes/" + soneCounter++ + "/Time").getValue(null));
                }
                return soneFollowingTimes;
        }