From 66e6b1451e24c464c24ae45abb98809053be3f99 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Wed, 3 Feb 2021 18:27:15 +0100 Subject: [PATCH] Only remove boost if the time is not 0 --- .../java/com/gamingmesh/jobs/container/BoostMultiplier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/container/BoostMultiplier.java b/src/main/java/com/gamingmesh/jobs/container/BoostMultiplier.java index 2ac47041..e9309c1c 100644 --- a/src/main/java/com/gamingmesh/jobs/container/BoostMultiplier.java +++ b/src/main/java/com/gamingmesh/jobs/container/BoostMultiplier.java @@ -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; }