PaperMC / Waterfall

BungeeCord fork that aims to improve performance and stability.
https://papermc.io
MIT License
743 stars 298 forks source link

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

Open schemil053 opened 8 months ago

schemil053 commented 8 months ago

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 commented 8 months ago

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

schemil053 commented 8 months ago

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