Yum/src/main/java/cn/citycraft/Yum/Yum.java

26 lines
570 B
Java
Raw Normal View History

/**
*
*/
package cn.citycraft.Yum;
import org.bukkit.plugin.java.JavaPlugin;
import cn.citycraft.Yum.commands.CommandHandler;
import cn.citycraft.Yum.utils.DownloadManager;
/**
* MC
*
* @author 20158215:14:39
*/
public class Yum extends JavaPlugin {
public DownloadManager download;
2015-08-21 15:35:15 +00:00
@Override
public void onEnable() {
download = new DownloadManager(this);
this.getCommand("yum").setExecutor(new CommandHandler(this));
this.getCommand("yum").setTabCompleter(new CommandHandler(this));
}
}