MohistMC/Mohist

"Unknown Command" instead of error message

Opened this issue · 0 comments

Minecraft Version : 1.20.1

Mohist Version : 908

Operating System : Window 11

Logs : There are no error logs. Everything looks fine in console.

[00:45:09] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl]: **** issued server command: /tp ~

Note : I have obscured my Minecraft nickname with ****

Mod list : Nothing

Plugin list : Nothing (or my own plugin which using CommandAPI)

Description of issue :

Summary

If there some error with player's command input, it always shows "Unknown Command", instead of error message.

Expected behavior

I execute command /tp ~ then...
image

Note : tested on spigot

Actually behavior

I execute command /tp ~ then...
image

Extra information

  • /tp ~ is just exmple. Same behavior seen when command input have some error.
  • same behavor seen throw CommandAPI.failWithString("error message"), when using CommandAPI
    • error message look fine in spigot
    • Unknown Command in Mohist

I believe this issue might have already reported. However, I cound't find somthing related to it.