mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
Fix some messages
Addresses BUKKIT-5272, BUKKIT-5282, and BUKKIT-5283 By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
@@ -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");
|
||||
|
@@ -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 + "'.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user