aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java
index aff9c1e..2418b13 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/dungeons/DungeonHandler.java
@@ -124,11 +124,7 @@ public class DungeonHandler {
public static void parseDeaths(String playerName) {
if (playerName.toLowerCase().contains("deaths:")) {
- String death = Utils
- .removeColor(playerName.toLowerCase().replace("deaths:", ""))
- .replace("(", "")
- .replace(")", "")
- .replace(" ", "");
+ String death = Utils.removeColor(playerName.toLowerCase().replace("deaths:", "")).replace("(", "").replace(")", "").replace(" ", "");
try {
deaths = Integer.parseInt(death);
} catch (NumberFormatException ignored) {}