Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel register & listening mistake #71

Open
MorkaZ opened this issue Feb 4, 2020 · 0 comments
Open

Channel register & listening mistake #71

MorkaZ opened this issue Feb 4, 2020 · 0 comments

Comments

@MorkaZ
Copy link

MorkaZ commented Feb 4, 2020

Hi, you did small mistake in your main/listener class.
You have registered:

getProxy().registerChannel("legacy:redisbungee");

But listening to:
if ((event.getTag().equals("legacy:RedisBungee") || event.getTag().equals("RedisBungee")) && event.getSender() instanceof Server) {

Here is solution to fix it:
if ((event.getTag().equals("legacy:redisbungee") || event.getTag().equals("RedisBungee")) && event.getSender() instanceof Server) {

I am reporting it because I can not use RedisBungee channel due to this error while registering channel into spigot:
Channel must contain : separator (attempted to use RedisBungee)

Jerimu added a commit to Jerimu/RedisBungee that referenced this issue Feb 24, 2020
Fix for the open ticket. Because off the casing people getting errors.
Also could use a equalsIgnoreCase()

Ticket minecrafter#71
filoghost referenced this issue in filoghost/HolographicDisplays Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant