Waterfall icon indicating copy to clipboard operation
Waterfall copied to clipboard

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

Open schemil053 opened this issue 1 year ago • 2 comments

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?

schemil053 avatar Jan 28 '24 15:01 schemil053

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

electronicboy avatar Jan 28 '24 15:01 electronicboy

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

schemil053 avatar Jan 28 '24 15:01 schemil053