1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00

Only remove boost if the time is not 0

This commit is contained in:
montlikadani 2021-02-03 18:27:15 +01:00
parent ede05c85eb
commit 66e6b1451e

View File

@ -52,7 +52,7 @@ public class BoostMultiplier {
public boolean isValid(CurrencyType type) {
boolean valid = time > System.currentTimeMillis();
if (!valid) {
if (time != 0L && !valid) {
map.remove(type);
time = 0L;
}