Closed bJaksa closed 2 weeks ago
Unfortunately this is a flaw with MiniMessage, and it's out of my control. to alleviate this issue you can do:
set {_l::1} to mini message from "blah"
set {_l::2} to mini message from "bloo"
set component lore of {_item} to {_l::*}
What happened?
When using the following code, although there's a newline, the lore does not split into a new line, instead a character is put in the place of the newline.
set {_lore} to mini message from "<##FFFFFF><italic:false><font:minecraft:small>small font</font> test<newline>hey there" set component lore of {_item} to {_lore}
The new line shows if we remove
component
fromset component lore
, however the<font>
breaks if we do that.Steps to reproduce
Expected behavior
I expected that
%nl%
or<newline>
or<br>
would put a new lineSkBee Version
3.5.4
Server Version
Pufferfish 1.20.1
SkBee Info
[12:20:55 INFO]: --- [SkBee Loading Info] --- [12:20:55 INFO]: - [NBTAPI] Found Minecraft: v1_20_R1! Trying to find NMS support [12:20:55 INFO]: - [NBTAPI] NMS support 'MC1_20_R1' loaded! [12:20:55 INFO]: - NBT Elements successfully loaded [12:20:55 INFO]: - Text Component Elements successfully loaded [12:20:55 INFO]: - Advancement Elements successfully loaded [12:20:55 INFO]: - BossBar Elements successfully loaded [12:20:55 INFO]: - Bound Elements successfully loaded [12:20:55 INFO]: - Damage Source elements disabled (Requires Minecraft 1.20.4+) [12:20:55 INFO]: - Display Entity elements successfully loaded [12:20:55 INFO]: - Fishing elements successfully loaded [12:20:55 INFO]: - Game Event Elements successfully loaded [12:20:55 INFO]: - Particle Elements successfully loaded [12:20:55 INFO]: - RayTrace elements successfully loaded [12:20:55 INFO]: - Recipe Elements successfully loaded [12:20:55 INFO]: - Scoreboard Elements successfully loaded [12:20:55 INFO]: - Scoreboard Objective Elements successfully loaded [12:20:55 INFO]: - Statistic Elements successfully loaded [12:20:55 INFO]: - Structure Elements successfully loaded [12:20:55 INFO]: - Minecraft Tag elements successfully loaded [12:20:55 INFO]: - Team Elements successfully loaded [12:20:55 INFO]: - Tick Manager elements disabled (Requires Minecraft 1.20.4+) [12:20:55 INFO]: - Villager Elements successfully loaded [12:20:55 INFO]: - Virtual Furnace Elements disabled via config [12:20:55 INFO]: - World Border Elements successfully loaded [12:20:55 INFO]: - World Creator Elements successfully loaded [12:20:55 INFO]: - Chunk Generator Elements disabled via config [12:20:55 INFO]: - Plugin is up to date! [12:20:55 INFO]: --- [Server Info] --- [12:20:55 INFO]: Server Version: git-Pufferfish-19 (MC: 1.20.1) [12:20:55 INFO]: Skript Version: 2.8.7 [12:20:55 INFO]: Skript Addons: [12:20:55 INFO]: - skript-placeholders v1.6.0 [12:20:55 INFO]: - skript-gui v1.3 [12:20:55 INFO]: - MongoSK v2.3.0 [12:20:55 INFO]: - skript-reflect v2.4 [12:20:55 INFO]: - SkJade v1.4.3 [12:20:55 INFO]: - SkriptJSON v1.0.0 [12:20:55 INFO]: - skript-web v1.0-alpha [12:20:55 INFO]: SkBee Version: 3.5.4 [12:20:55 INFO]: SkBee Website: https://github.com/ShaneBeee/SkBee
Additional Information
No response