13
0
geforkt von Mirrors/Paper

Fixed /say command not allowing more than one argument

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-09-04 16:28:40 +01:00
Ursprung f82dfdc717
Commit 42235114ca

Datei anzeigen

@ -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;
}