Added ScheduledRestart command to TBMC...

This commit is contained in:
Norbi Peti 2016-12-21 23:04:05 +01:00
parent acb874804e
commit 6d2b253633

View file

@ -28,6 +28,7 @@ public class MainPlugin extends JavaPlugin {
logger = getLogger(); logger = getLogger();
setupPermissions(); setupPermissions();
TBMCChatAPI.AddCommand(this, UpdatePluginCommand.class); TBMCChatAPI.AddCommand(this, UpdatePluginCommand.class);
TBMCChatAPI.AddCommand(this, ScheduledRestartCommand.class);
TBMCCoreAPI.RegisterEventsForExceptions(new PlayerListener(), this); TBMCCoreAPI.RegisterEventsForExceptions(new PlayerListener(), this);
logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ")."); logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ").");
} }