Skip to content

Commit

Permalink
Fix some messages
Browse files Browse the repository at this point in the history
Addresses BUKKIT-5272, BUKKIT-5282, and BUKKIT-5283
  • Loading branch information
Wolvereness committed Jan 6, 2014
1 parent 10d8fe5 commit ccc56c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/command/defaults/SayCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ synchronized void initialize(JavaPlugin javaPlugin) {
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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public ChannelNotRegisteredException() {
}

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 + "'.");
}
}

0 comments on commit ccc56c8

Please sign in to comment.