Skip to content

Commit

Permalink
Fix Meteor logo when using BetterChat with Player Heads and Timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
Paddyk45 authored and MineGame159 committed Oct 22, 2023
1 parent e5713e4 commit 89e4ae3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ private void drawTexture(DrawContext context, IChatHudLine line, int y) {
int startOffset = 0;

try {
startOffset = TIMESTAMP_REGEX.matcher(text).end();
Matcher m = TIMESTAMP_REGEX.matcher(text);
if (m.find()) startOffset = m.end() + 1;
}
catch (IllegalStateException ignored) {}

Expand Down

0 comments on commit 89e4ae3

Please sign in to comment.