[1.18.2] runCommandSilent seems to no longer works updating from 467 to 492
Raidobw2 opened this issue ยท 4 comments
Minecraft Version
1.18.2
KubeJS Version
1802.5.4-build.492
Rhino Version
1802.1.14-build.186
Architectury Version
4.5.74
Forge/Fabric Version
Forge 40.1.51
Describe your issue
I've updated from KJS build 467 to build 492 on 1.18.2 and the runCommandSilent (or something linked to it) seems to have stopped working.
Here's the logon script: https://paste.feed-the-beast.com/view/f6ec10da (FTB Plexiglass Mountain 1.1.0 in-dev)
I have the starting items in 492, but nothing was sent to chat as you can see. Both are new worlds, each after a relaunch of the game.
Thanks for checking it out in advance
Crash report/logs
Make sure that the command isn't erroring by using runCommand instead of runCommandSilent. If runCommand errors it shows up in the latest.log, if runCommandSilent errors it doesnt show up anywhere
EntityJS.getName returns a Component, not a String, please use EntityJS.toString or EntityJS.getName().getString()