Fix some messages

Addresses BUKKIT-5272, BUKKIT-5282, and BUKKIT-5283

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2014-01-06 14:08:05 -06:00
parent 32f2dca3ed
commit 038c99a7f4
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ import com.google.common.collect.ImmutableList;
public class SayCommand extends VanillaCommand {
public SayCommand() {
super("say");
this.description = "Broadcasts the given message as the console";
this.description = "Broadcasts the given message as the sender";
this.usageMessage = "/say <message ...>";
this.setPermission("bukkit.command.say");
}

View File

@@ -95,7 +95,7 @@ final class PluginClassLoader extends URLClassLoader {
Validate.notNull(javaPlugin, "Initializing plugin cannot be null");
Validate.isTrue(javaPlugin.getClass().getClassLoader() == this, "Cannot initialize plugin outside of this class loader");
if (this.plugin != null || this.pluginInit != null) {
throw new IllegalArgumentException("Plugin already intialized!", pluginState);
throw new IllegalArgumentException("Plugin already initialized!", pluginState);
}
pluginState = new IllegalStateException("Initial initialization");

View File

@@ -10,6 +10,6 @@ public class ChannelNotRegisteredException extends RuntimeException {
}
public ChannelNotRegisteredException(String channel) {
super("Attempted to send a plugin message through an unregistered channel ('" + channel + "'.");
super("Attempted to send a plugin message through the unregistered channel `" + channel + "'.");
}
}