forked from TuxCoding/FastLogin
Relocate HikariCP and slf4j too to prevent conflicts
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user