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

io.netty.handler.codec.DecoderException: Failed to decode: No key value in MapLike[{action:"suggest_command"}] #842

Open
schemil053 opened this issue Jan 28, 2024 · 2 comments

Comments

@schemil053
Copy link

schemil053 commented Jan 28, 2024

Hello,
I got an issue while trying to send a player a message.

Example code to reproduce:

       if(sender instanceof ProxiedPlayer) {
            TextComponent component = new TextComponent("§aKlicke zum vorschlagen.");
            component.setClickEvent(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "testus"));
            sender.sendMessage(component);
        }

I use vanilla 1.20.4 as my client and waterfall build 562. I tried to use ClickEvent.Action.COPY_TO_CLIPBOARD, and this doesn't work too.

Does anybody know how to fix this?

@electronicboy
Copy link
Member

best guess would be to test on bungeecord, this project is EOL and so 0 inclination to look into it here

@schemil053
Copy link
Author

same issue, thanks for helping. I will ask there!

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

2 participants