JorelAli / CommandAPI

A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13

Home Page:https://commandapi.jorel.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Received chat packet with missing or invalid signature

JorelAli opened this issue · comments

CommandAPI version

8.5.0

Minecraft version

1.19

Are you shading the CommandAPI?

No

What I did

  • Register this command:
    new CommandAPICommand("test")
          .withArguments(new AdventureChatArgument("testarg")
              .withPreview(previewInfo -> MiniMessage.miniMessage().deserialize(previewInfo.input())))
          .executes((commandSender, objects) -> {
            commandSender.sendMessage("test");
          })
          .register();
  • Run /test <gray>

What actually happened

The player is instantly kicked from the server with the message Received chat packet with missing or invalid signature

What should have happened

The player receives the message "test"

Server logs and CommandAPI config

No response

Other

This occurs only on 1.19.1, but not 1.19.

Currently being worked on as of f558112 for 8.5.1's release.

Fixed in 8.5.1.