@@ -54,6 +54,7 @@ public class SimpleCommandMap implements CommandMap {
|
||||
register("bukkit", new VersionCommand("version"));
|
||||
register("bukkit", new ReloadCommand("reload"));
|
||||
register("bukkit", new PluginsCommand("plugins"));
|
||||
register("bukkit", new TimingsCommand("timings"));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,7 +97,7 @@ public class SimpleCommandMap implements CommandMap {
|
||||
/**
|
||||
* Registers a command with the given name is possible, otherwise uses fallbackPrefix to create a unique name if its not an alias
|
||||
*
|
||||
* @param name the name of the command, without the '/'-prefix.
|
||||
* @param label the name of the command, without the '/'-prefix.
|
||||
* @param fallbackPrefix a prefix which is prepended to the command with a ':' one or more times to make the command unique
|
||||
* @param command the command to register
|
||||
* @return true if command was registered with the passed in label, false otherwise.
|
||||
|
||||
Reference in New Issue
Block a user