aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker')
-rw-r--r--src/main/java/me/Danker/TheMod.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java
index 1fe1dfa..6c1bc2e 100644
--- a/src/main/java/me/Danker/TheMod.java
+++ b/src/main/java/me/Danker/TheMod.java
@@ -738,15 +738,15 @@ public class TheMod
} else if (sCleaned.contains("F2")) {
lc.f2TimeSpent = Math.floor(lc.f2TimeSpent + timeToAdd);
lc.f2TimeSpentSession = Math.floor(lc.f2TimeSpentSession + timeToAdd);
- cf.writeDoubleConfig("catacombs", "floorTwoTime", lc.f1TimeSpent);
+ cf.writeDoubleConfig("catacombs", "floorTwoTime", lc.f2TimeSpent);
} else if (sCleaned.contains("F3")) {
lc.f3TimeSpent = Math.floor(lc.f3TimeSpent + timeToAdd);
lc.f3TimeSpentSession = Math.floor(lc.f3TimeSpentSession + timeToAdd);
- cf.writeDoubleConfig("catacombs", "floorThreeTime", lc.f1TimeSpent);
+ cf.writeDoubleConfig("catacombs", "floorThreeTime", lc.f3TimeSpent);
} else if (sCleaned.contains("F4")) {
lc.f4TimeSpent = Math.floor(lc.f4TimeSpent + timeToAdd);
lc.f4TimeSpentSession = Math.floor(lc.f4TimeSpentSession + timeToAdd);
- cf.writeDoubleConfig("catacombs", "floorFourTime", lc.f1TimeSpent);
+ cf.writeDoubleConfig("catacombs", "floorFourTime", lc.f4TimeSpent);
}
} else if (sCleaned.contains("Time Elapsed:")) {
// Get floor time