Fixed /say command not allowing more than one argument
This commit is contained in:
parent
11ac7cd366
commit
935ffcb125
@ -16,7 +16,7 @@ public class SayCommand extends VanillaCommand {
|
||||
@Override
|
||||
public boolean execute(CommandSender sender, String currentAlias, String[] args) {
|
||||
if (!testPermission(sender)) return true;
|
||||
if (args.length != 1) {
|
||||
if (args.length == 0) {
|
||||
sender.sendMessage(ChatColor.RED + "Usage: " + usageMessage);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user