aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 1aafab8..b45aa58 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -3044,7 +3044,7 @@ public class DankersSkyblockMod {
if (ToggleCommand.lowHealthNotifyToggled && Utils.inDungeons && world != null) {
List<String> scoreboard = ScoreboardHandler.getSidebarLines();
for (String score : scoreboard) {
- if (score.endsWith("❤") && score.matches(".*§c\\d.*")) {
+ if (score.endsWith("❤") && score.matches(".* §c\\d.*")) {
String name = score.substring(score.indexOf(" ") + 1);
Utils.createTitle(EnumChatFormatting.RED + "LOW HEALTH!\n" + name, 1);
break;