mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
Fixed the /me command missing a space
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -23,8 +23,7 @@ public class MeCommand extends VanillaCommand {
|
|||||||
StringBuilder message = new StringBuilder();
|
StringBuilder message = new StringBuilder();
|
||||||
message.append(sender.getName());
|
message.append(sender.getName());
|
||||||
if (args.length > 0) {
|
if (args.length > 0) {
|
||||||
message.append(args[0]);
|
for (int i = 0; i < args.length; i++) {
|
||||||
for (int i = 1; i < args.length; i++) {
|
|
||||||
message.append(" ");
|
message.append(" ");
|
||||||
message.append(args[i]);
|
message.append(args[i]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user