From 62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce Mon Sep 17 00:00:00 2001 From: RayDeeUx Date: Fri, 19 Aug 2022 11:01:29 -0400 Subject: #BanishTheCommas --- src/main/java/com/thatgravyboat/skyblockhud/ComponentHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/thatgravyboat/skyblockhud/ComponentHandler.java') diff --git a/src/main/java/com/thatgravyboat/skyblockhud/ComponentHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/ComponentHandler.java index 83b2c09..7d37ada 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/ComponentHandler.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/ComponentHandler.java @@ -54,7 +54,7 @@ public class ComponentHandler { } else if (LocationHandler.getCurrentLocation().getCategory().equals(LocationCategory.MUSHROOMDESERT)) { if (formattedTabListPlayer.toLowerCase().contains("pelts:")) { try { - FarmingIslandHandler.pelts = Integer.parseInt(formattedTabListPlayer.toLowerCase().replace("pelts:", "").trim()); + FarmingIslandHandler.pelts = Integer.parseInt(formattedTabListPlayer.toLowerCase().replace("pelts:", "").trim().replaceAll(",", "")); } catch (Exception ignored) {} } } -- cgit