1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-02-08 08:21:41 +01:00

Fix for bonus not adds the correct amount of boot

Fixes #600
This commit is contained in:
montlikadani 2020-06-11 10:09:15 +02:00
parent 42ce58e650
commit ea70a33342

View File

@ -121,7 +121,7 @@ public class Job {
}
public void addBoost(CurrencyType type, double Point) {
this.boost.add(type, Point - 1D);
boost.add(type, Point);
}
public void addBoost(CurrencyType type, double point, int hour, int minute, int second) {
@ -133,7 +133,7 @@ public class Job {
cal.set(Calendar.SECOND, cal.get(Calendar.SECOND) + second);
long time = cal.getTimeInMillis();
boost.add(type, point - 1D, time);
boost.add(type, point, time);
}
public void setBoost(BoostMultiplier BM) {