Moved things over to ButtonLib

This commit is contained in:
Norbi Peti 2016-10-24 19:13:26 +02:00
parent a31c353de6
commit 6d7f85ffc7
2 changed files with 6 additions and 2 deletions

View file

@ -104,6 +104,11 @@
<artifactId>DiscordPlugin</artifactId> <artifactId>DiscordPlugin</artifactId>
<version>master-SNAPSHOT</version> <version>master-SNAPSHOT</version>
</dependency> </dependency>
<dependency>
<groupId>com.github.TBMCPlugins</groupId>
<artifactId>ButtonLib</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
</dependencies> </dependencies>
<organization> <organization>
<name>TBMCPlugins</name> <name>TBMCPlugins</name>

View file

@ -20,8 +20,7 @@ public class MainPlugin extends JavaPlugin {
logger = getLogger(); logger = getLogger();
logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ")."); logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ").");
EventExceptionHandler.registerEvents(new PlayerListener(), this, new EventExceptionDiscordSender() { EventExceptionHandler.registerEvents(new PlayerListener(), this, new EventExceptionDiscordSender());
});
} }
} }