From c5743dbb64ec2e035f6848a0c7a622c56efa449c Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Wed, 1 Jan 2025 16:20:28 +0100 Subject: [PATCH] Fix missing library on Paper --- src/main/java/eu/m724/tweaks/DebugLogger.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/eu/m724/tweaks/DebugLogger.java b/src/main/java/eu/m724/tweaks/DebugLogger.java index 45b7ba5..2b91bee 100644 --- a/src/main/java/eu/m724/tweaks/DebugLogger.java +++ b/src/main/java/eu/m724/tweaks/DebugLogger.java @@ -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);