[Bug] Cheat mode sends command as a chat message on vanilla servers
Fourmisain opened this issue ยท 2 comments
What happened?
When trying to give yourself an item on a "vanilla" 1.19 server (any server without REI), the command is instead sent as a chat message.
Here's how that looks like:
What mod loaders are you seeing the problem on?
Fabric
What do you think this bug is of?
- Visual
- Recipe Lookup
- Cheat Mode
- Plugin Integration / JEI Plugin Compatibility
- Others
Relevant log output
-
Anything else?
Since 1.19, commands are now sent via it's own packet (yarn name CommandExecutionC2SPacket
) and the existing methods slightly changed, e.g. instead of the previous
player.sendChatMessage("/give ...");
it is now
player.sendCommand("give ...");
Oh!
I thought I was on the newest version because I'm using a mod updater - turns out the mod wasn't on the list, sorry about that!