aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/seasons
diff options
context:
space:
mode:
authorRayDeeUx <raydeeux@gmail.com>2022-08-19 11:01:29 -0400
committerRayDeeUx <raydeeux@gmail.com>2022-08-19 11:01:29 -0400
commit62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce (patch)
tree4270337e299f58487a1f0851303e5ed44bb50584 /src/main/java/com/thatgravyboat/skyblockhud/seasons
parentd6751da4434b97237d278e1666c031084cd57934 (diff)
downloadSkyblockHud-Death-Defied-62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce.tar.gz
SkyblockHud-Death-Defied-62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce.tar.bz2
SkyblockHud-Death-Defied-62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce.zip
#BanishTheCommas
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/seasons')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/seasons/SeasonDateHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/seasons/SeasonDateHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/seasons/SeasonDateHandler.java
index 02cc490..4b6755f 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/seasons/SeasonDateHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/seasons/SeasonDateHandler.java
@@ -68,6 +68,6 @@ public class SeasonDateHandler {
}
public static int removeSeason(String seasonDate) {
- return Integer.parseInt(Pattern.compile("[^0-9]").matcher(seasonDate.toLowerCase()).replaceAll("").trim());
+ return Integer.parseInt(Pattern.compile("[^0-9]").matcher(seasonDate.toLowerCase()).replaceAll("").trim().replaceAll(",", ""));
}
}