KubeJS

KubeJS

61M Downloads

Whenever chat is cancelled, the player chats a weird string

TheQKnight opened this issue ยท 6 comments

commented

Minecraft Version

1.19

KubeJS Version

kubejs-fabric-1900.5.5-build.12.jar

Rhino Version

rhino-fabric-1802.1.14-build.182.jar

Architectury Version

architectury-5.7.27-fabric.jar

Forge/Fabric Version

0.14.7

Describe your issue

Using a simple script to cancel user chat like so
onEvent('player.chat', (event) => { event.cancel() })

results in making the user say the following string every time chat is entered

image

Crash report/logs

No response

commented

This probably has something to do with Mojang now signing chat messages (as part of the ability to now report people).

commented

lmao @shedaniel nice internal string you got here :p

commented

shit

commented

We.. should probably see if we can redo the chat event somehow I'm guessing? :P

commented

Seeing as this is an Architectury issue, I'm going to be closing this on our end; a fix on their side should be coming soon

commented

Relevant PR in Arch: architectury/architectury-api#299 (pretty sure)