BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
334 stars 138 forks source link

Do not convert to a new line #2533

Open Vinrey123 opened 2 weeks ago

Vinrey123 commented 2 weeks ago

Expected behavior

when adding a description to the team panel and if you use \n, it should go to a new line.

Observed/Actual behavior

I see that where black glass is used, there is no normal description to add, but blue glass works fine https://github.com/user-attachments/assets/4eacebfa-5db3-4c87-b922-0728e6365004

Steps/models to reproduce

  1. we go this way: /home/container/plugins/BentoBox/panels/team_panel.yml
  2. after that, we add a description of where the black glass is located, that is, in the background department
  3. The description does not work

BentoBox version

BentoBox - 2.6.0 Minecraft version - 1.21.1

Plugin list

No response

Other

https://github.com/user-attachments/assets/f8520987-2db5-4f6f-9be1-7159688544d1 https://github.com/user-attachments/assets/5d66de41-1426-4037-8c65-12fa87cc69e0

the same problem with team_invite_panel.yml

tastybento commented 2 weeks ago

With YAML, the way to do new lines is like this usually. Does this work?

description: |
  This is line 1
  This is line 2
  This is line 3
Vinrey123 commented 2 weeks ago

Even in this format it doesn't work