Fixed the /me command missing a space

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-10-26 07:08:41 +01:00
parent 3f093fec4a
commit 04d50c0f67

View File

@ -23,8 +23,7 @@ public class MeCommand extends VanillaCommand {
StringBuilder message = new StringBuilder();
message.append(sender.getName());
if (args.length > 0) {
message.append(args[0]);
for (int i = 1; i < args.length; i++) {
for (int i = 0; i < args.length; i++) {
message.append(" ");
message.append(args[i]);
}