Fix String[] to String conversion

This commit is contained in:
JeremyStar™ 2024-10-03 21:22:36 +02:00
parent 1c1c1ea86f
commit 6a4d4e6e7b
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -149,8 +149,12 @@ public class Command {
}
StringBuilder args = new StringBuilder();
for (int index = 1; index < arguments.length; index++)
for (int index = 1; index < arguments.length; index++) {
if (!args.isEmpty())
args.append(" ");
args.append(arguments[index]);
}
message(player, "<reset>" + PlaceholderEngine.getInstance().process(args.toString()).replace("<", "\u200C\\<"));
}