aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-10-08 00:56:57 +1100
committerGitHub <noreply@github.com>2023-10-07 15:56:57 +0200
commit40f42921de591a2ced74f4c5d2b2d5e412a2b31a (patch)
tree50d6ff531ad04c21864e3ee2fc5ceb1aaf66666a /src
parent0d8b64b8c3d2c111a282774d584208015900ed44 (diff)
downloadNotEnoughUpdates-40f42921de591a2ced74f4c5d2b2d5e412a2b31a.tar.gz
NotEnoughUpdates-40f42921de591a2ced74f4c5d2b2d5e412a2b31a.tar.bz2
NotEnoughUpdates-40f42921de591a2ced74f4c5d2b2d5e412a2b31a.zip
fix master mode comps not giving 2x collection for sb level page (#867)
Co-authored-by: Linnea Gräf <roman.graef@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/SlayingTaskLevel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/SlayingTaskLevel.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/SlayingTaskLevel.java
index 9bf5395e..825a963e 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/SlayingTaskLevel.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/SlayingTaskLevel.java
@@ -102,7 +102,7 @@ public class SlayingTaskLevel extends GuiTaskLevel {
masterCompMap.forEach((floor, value) -> {
if (allComps.containsKey(floor)) {
- allComps.put(floor, allComps.get(floor) + value);
+ allComps.put(floor, allComps.get(floor) + value * 2);
} else {
allComps.put(floor, value);
}