Skip to content

Commit

Permalink
Update TextUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Feb 9, 2025
1 parent 219c69a commit 858c85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/qscbm/slimefun4/utils/TextUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static String toLegacyText(Component component) {
public static List<String> split(String str, String character) {
int off = 0;
int next;
List<String> list = new ArrayList<>(2);
List<String> list = new ArrayList<>(3);
while ((next = str.indexOf(character, off)) != -1) {
list.add(str.substring(off, next));
off = next + 1;
Expand Down

0 comments on commit 858c85a

Please sign in to comment.