diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-05-30 04:08:49 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 20:08:49 +0200 |
commit | 74a8bd7b4c78a403ed8be9aec13f200dff5f01c0 (patch) | |
tree | 4209ed0c8c5e0edc7a26a2e75af0d9f80a50bfb1 /src/main | |
parent | fee92e0404b3515f93b6542390da8eb67de3106a (diff) | |
download | NotEnoughUpdates-74a8bd7b4c78a403ed8be9aec13f200dff5f01c0.tar.gz NotEnoughUpdates-74a8bd7b4c78a403ed8be9aec13f200dff5f01c0.tar.bz2 NotEnoughUpdates-74a8bd7b4c78a403ed8be9aec13f200dff5f01c0.zip |
Fix dungeon win overlay (#1188)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java b/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java index 0aa44cd5..40abc59f 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/dungeons/DungeonWin.java @@ -27,7 +27,6 @@ import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.WorldRenderer; import net.minecraft.client.renderer.vertex.DefaultVertexFormats; -import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.event.ClientChatReceivedEvent; import org.lwjgl.opengl.GL11; @@ -184,9 +183,9 @@ public class DungeonWin { //Added two more Resets, can't do Reset+Reset+Reset cause idk? //hypixel please don't randomly add more + //Clueless - if (e.message.getFormattedText().startsWith( - EnumChatFormatting.RESET + "" + EnumChatFormatting.RESET + "" + EnumChatFormatting.RESET + " ")) { + if (unformatted.trim().startsWith("Team Score:")) { if (currentTime - lastDungeonFinish > 30000) { Matcher matcher = TEAM_SCORE_REGEX.matcher(unformatted); if (matcher.find()) { |