Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Update MessageUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
staFF6773 authored Oct 12, 2023
1 parent 69c3fb6 commit 11551e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/staff/utils/MessageUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static String getColoredMessage(String message) {

if(Bukkit.getVersion().contains("1.18")) {

Pattern pattern = Pattern.compile("#[a-fA-F0-9]{6}");
Pattern pattern = Pattern.compile("#[a-fA-F0-9]{6}");
Matcher matcher = pattern.matcher(message);

while(matcher.find()) {
Expand Down

0 comments on commit 11551e7

Please sign in to comment.