mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Fixed /say command not allowing more than one argument
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
f82dfdc717
commit
42235114ca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue