Fix String[] to String conversion
This commit is contained in:
parent
1c1c1ea86f
commit
6a4d4e6e7b
1 changed files with 5 additions and 1 deletions
|
@ -149,8 +149,12 @@ public class Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
StringBuilder args = new StringBuilder();
|
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]);
|
args.append(arguments[index]);
|
||||||
|
}
|
||||||
|
|
||||||
message(player, "<reset>" + PlaceholderEngine.getInstance().process(args.toString()).replace("<", "\u200C\\<"));
|
message(player, "<reset>" + PlaceholderEngine.getInstance().process(args.toString()).replace("<", "\u200C\\<"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue