thecatcore / Fabric---Discord-Link

MIT License
75 stars 31 forks source link

Tellraw won't work in-game with an empty string in the front (When atATellRaw is true) #163

Closed Kenny-Hui closed 3 years ago

Kenny-Hui commented 3 years ago

Describe the bug

  1. Turn "atATellRaw" to true in fdlink.json
  2. Type the following command: /tellraw @a ["",{"text":"first line","color":"dark_green"},{"text":"\nsecond line"}] This will generate an error in-game saying Unexpected error trying to execute that command

The only way to get it to send is to add something in ["" For example: /tellraw @a ["A",{"text":"first line","color":"dark_green"},{"text":"\nsecond line"}]

Expected behaviour It should instead display the following into the in-game chat, instead of erroring out. image

Additional context

fdlink.json fdlink.zip