Relocate HikariCP and slf4j too to prevent conflicts

This commit is contained in:
games647
2018-02-08 13:24:42 +01:00
parent e5e815a885
commit 8cbdb66625
10 changed files with 29 additions and 14 deletions
@@ -50,7 +50,7 @@ public class FastLoginBungee extends Plugin implements PlatformPlugin<CommandSen
getProxy().getPluginManager().registerListener(this, new MessageListener(this));
//this is required to listen to messages from the server
getProxy().registerChannel(getDescription().getName());
getProxy().registerChannel(getName());
registerHook();
}
@@ -30,7 +30,7 @@ public class MessageListener implements Listener {
@EventHandler
public void onPluginMessage(PluginMessageEvent pluginMessageEvent) {
String channel = pluginMessageEvent.getTag();
if (pluginMessageEvent.isCancelled() || !plugin.getDescription().getName().equals(channel)) {
if (pluginMessageEvent.isCancelled() || !plugin.getName().equals(channel)) {
return;
}