From 0e0321b594305981af84c884d9d3183533380121 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Fri, 19 Nov 2021 22:00:14 -0500 Subject: Fix coins spent not being tracked --- src/main/java/me/Danker/features/loot/CatacombsTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/me/Danker/features/loot') diff --git a/src/main/java/me/Danker/features/loot/CatacombsTracker.java b/src/main/java/me/Danker/features/loot/CatacombsTracker.java index 6e62b45..ddcb7d5 100644 --- a/src/main/java/me/Danker/features/loot/CatacombsTracker.java +++ b/src/main/java/me/Danker/features/loot/CatacombsTracker.java @@ -445,7 +445,7 @@ public class CatacombsTracker { for (String lineUnclean : tooltip) { String line = StringUtils.stripControlCodes(lineUnclean); if (line.contains("FREE")) { - break; + continue; } else if (line.contains(" Coins") && !line.contains("NOTE:")) { int coinsSpent = Integer.parseInt(line.substring(0, line.indexOf(" ")).replaceAll(",", "")); -- cgit