Skip to content

Commit eb4d0fa

Browse files
committed
refactor: remove parseAndReplace method from TextUtil as it isn't used anymore
1 parent 85f1e79 commit eb4d0fa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/me/zetastormy/akropolis/util/text/TextUtil.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ public static String raw(Component message) {
6060
return MINI_MESSAGE.serialize(message).replaceAll("\\\\<", "<");
6161
}
6262

63-
public static Component parseAndReplace(String message, String pattern, Component replacement) {
64-
return parse(message, Placeholder.component(pattern, replacement));
65-
}
66-
6763
public static Component replace(Component message, String pattern, Component replacement) {
6864
return parse(raw(message), Placeholder.component(pattern, replacement));
6965
}

0 commit comments

Comments
 (0)