KubeJS

KubeJS

69M Downloads

Painter text becomes null when it is modified in any way

Qualia765 opened this issue ยท 0 comments

commented

Minecraft Version

1.18.2

KubeJS Version

kubejs-forge-1802.5.5-build.569.jar

Rhino Version

rhino-forge-1802.2.1-build.255.jar

Architectury Version

architectury-4.11.89-forge.jar

Forge/Fabric Version

Forge - 40.1.86

Describe your issue

Action: I use the command: /kubejs painter @a {text:{type:"text",textLines:["word"]}}
Correct Result: In the corner of the screen word appears.

Action 2: I use the command /kubejs painter @a {text:{}}
Incorrect Result: The text in the corner changes to null.
Expected Result: Nothing happens.

This problem also happens

  • in the code if I use player.paint.
  • if I put something inside of it like {text:{x:10}}.
  • if I use text instead of textLines like {text:{text:"word"}}.

Crash report/logs

No response