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:
parent
ede05c85eb
commit
66e6b1451e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user