Skip to content

Commit

Permalink
Updated 1.19 Materials
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsLewizzz committed Jan 8, 2023
1 parent 4053291 commit ae6e7f6
Show file tree
Hide file tree
Showing 2 changed files with 254 additions and 149 deletions.
3 changes: 1 addition & 2 deletions src/main/java/fun/lewisdev/deluxehub/utility/TextUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ public static String color(final String string) {
public static String getCenteredMessage(String message) {
if (message == null || message.equals("")) return "";

message = ChatColor.translateAlternateColorCodes('&', message);
message = message.replace("<center>", "").replace("</center>", "");
message = color(message).replace("<center>", "").replace("</center>", "");

int messagePxSize = 0;
boolean previousCode = false;
Expand Down
Loading

0 comments on commit ae6e7f6

Please sign in to comment.