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

Commit

Permalink
17 -> 14
Browse files Browse the repository at this point in the history
  • Loading branch information
RICE0707 authored May 2, 2024
1 parent 6e8f942 commit a057030
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static BaseComponent applyLastFormat(BaseComponent component, String last
char nextChar = lastFormat.charAt(i + 1);

if (nextChar == 'x' && i + 13 < lastFormat.length()) {
String colorCode = lastFormat.substring(i + 2, i + 17);
String colorCode = lastFormat.substring(i + 2, i + 14);
component.setColor(ChatColor.of("#" + colorCode.replace("§", "")));
component.setColor(ChatColor.of(colorCode.replace("§", "")));
i += 13;
Expand Down

0 comments on commit a057030

Please sign in to comment.