Skip to content

Commit

Permalink
Fix color in console (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yh-china committed Dec 27, 2024
1 parent bce1d6c commit abda1c7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions patches/server/0128-TEMP-Fix-color-in-console.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: violetc <[email protected]>
Date: Sat, 28 Dec 2024 02:44:49 +0800
Subject: [PATCH] TEMP Fix color in console

will remove in 1.21.4

diff --git a/build.gradle.kts b/build.gradle.kts
index f2eb3b2eb2ad6a3c41f6ad84497fc65f22823f32..b07ccf91b3f6d967c5617dba54b6d38823039e6d 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -30,7 +30,7 @@ dependencies {
implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+
implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21
implementation("net.minecrell:terminalconsoleappender:1.3.0")
- implementation("net.kyori:adventure-text-serializer-ansi:4.17.0") // Keep in sync with adventureVersion from Paper-API build file
+ implementation("net.kyori:adventure-text-serializer-ansi:4.18.0") // Keep in sync with adventureVersion from Paper-API build file // Leaves - up 4.18.0 to fix color
/*
Required to add the missing Log4j2Plugins.dat file from log4j-core
which has been removed by Mojang. Without it, log4j has to classload

0 comments on commit abda1c7

Please sign in to comment.