use registerCommand API

This commit is contained in:
Aikar
2017-04-18 21:11:18 -04:00
parent 985d64f282
commit 3e555bd2a0
2 changed files with 2 additions and 2 deletions
@@ -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);
}