From 6d7f85ffc7e107f154e992add1cc95e93c9c0f5f Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 24 Oct 2016 19:13:26 +0200 Subject: [PATCH] Moved things over to ButtonLib --- pom.xml | 5 +++++ src/main/java/buttondevteam/core/MainPlugin.java | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 095ae1a..504a7ff 100644 --- a/pom.xml +++ b/pom.xml @@ -104,6 +104,11 @@ DiscordPlugin master-SNAPSHOT + + com.github.TBMCPlugins + ButtonLib + master-SNAPSHOT + TBMCPlugins diff --git a/src/main/java/buttondevteam/core/MainPlugin.java b/src/main/java/buttondevteam/core/MainPlugin.java index 11c2007..855ad89 100644 --- a/src/main/java/buttondevteam/core/MainPlugin.java +++ b/src/main/java/buttondevteam/core/MainPlugin.java @@ -20,8 +20,7 @@ public class MainPlugin extends JavaPlugin { logger = getLogger(); logger.info(pdfFile.getName() + " has been Enabled (V." + pdfFile.getVersion() + ")."); - EventExceptionHandler.registerEvents(new PlayerListener(), this, new EventExceptionDiscordSender() { - }); + EventExceptionHandler.registerEvents(new PlayerListener(), this, new EventExceptionDiscordSender()); } }