Operators Reloading bug
EquipableMC opened this issue ยท 1 comments
Skript/Server Version
[12:16:07 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[12:16:07 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[12:16:07 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[12:16:07 INFO]: [Skript] Server Version: 1.21.1-77-4ff58c4 (MC: 1.21.1)
[12:16:07 INFO]: [Skript] Skript Version: 2.9.2 (selfbuilt-unknown)
[12:16:07 INFO]: [Skript] Installed Skript Addons:
[12:16:07 INFO]: [Skript] - DiSky v4.19.0
[12:16:07 INFO]: [Skript] - skript-reflect v2.5.1 (https://github.com/SkriptLang/skript-reflect)
[12:16:07 INFO]: [Skript] Installed dependencies: None
Bug Description
Ever since #6780 was merged, it has caused messages to be bugged and not formatted properly. Seems to be an issue with redirectingloghandler.
Expected Behavior
The messages to be formatted properly.
Steps to Reproduce
use a skript jar from dev/feature, reload a skript, boom broken messages
(optional) use a skript jar from dev/feature, reload a skript, make sure there is an error or 2 or however many you want, boom even more broken messages
Errors or Screenshots
No Errors + Ingame
Errors + Ingame
No Errors + Console
Errors + Console
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
- First, because it's
Level.INFO
it's ignored byLogEntry#toFormattedString(...)
(link) - Second, it's now using LogHandler#log which doesn't support chat color, before it was using Skript#info and Skript#error which uses
Utils#replaceEnglishChatStyles(...)