forked from TuxCoding/FastLogin
Revert "Ignore the correct channel"
This reverts commit 465519ee
Namespace key class did the lowercase operation
This commit is contained in:
@ -38,7 +38,7 @@ public class PluginMessageListener implements Listener {
|
||||
@EventHandler
|
||||
public void onPluginMessage(PluginMessageEvent pluginMessageEvent) {
|
||||
String channel = pluginMessageEvent.getTag();
|
||||
if (pluginMessageEvent.isCancelled() || !channel.startsWith(plugin.getName())) {
|
||||
if (pluginMessageEvent.isCancelled() || !channel.startsWith(plugin.getName().toLowerCase())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user