Fix missing library on Paper
All checks were successful
/ build (push) Successful in 1m0s

This commit is contained in:
Minecon724 2025-01-01 16:20:28 +01:00
parent ec59b3d293
commit c5743dbb64
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -1,13 +1,11 @@
/*
* Copyright (C) 2024 Minecon724
* Copyright (C) 2025 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text.
*/
package eu.m724.tweaks;
import org.fusesource.jansi.Ansi;
import java.util.logging.Level;
import java.util.logging.Logger;
@ -43,7 +41,7 @@ public class DebugLogger {
if (level.intValue() < Level.INFO.intValue()) { // levels below info are never logged even if set for some reason
level = Level.INFO;
// colors text gray (cyan is close to gray)
message = Ansi.ansi().fg(Ansi.Color.CYAN).a(message).reset().toString();
message = "\033[36m" + message + "\033[39m";
}
logger.log(level, message);