mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
use registerCommand API
This commit is contained in:
@@ -58,7 +58,7 @@ public class BukkitCommandManager implements CommandManager {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean register(BaseCommand command) {
|
||||
public boolean registerCommand(BaseCommand command) {
|
||||
command.manager = this;
|
||||
final String plugin = this.plugin.getName().toLowerCase();
|
||||
final CommandMap commandMap = Bukkit.getServer().getCommandMap();
|
||||
|
||||
@@ -43,5 +43,5 @@ public interface CommandManager {
|
||||
* @param command The command to register
|
||||
* @return boolean
|
||||
*/
|
||||
boolean register(BaseCommand command);
|
||||
boolean registerCommand(BaseCommand command);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user