mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
Fix color in console (#383)
This commit is contained in:
20
patches/server/0128-TEMP-Fix-color-in-console.patch
Normal file
20
patches/server/0128-TEMP-Fix-color-in-console.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: violetc <58360096+s-yh-china@users.noreply.github.com>
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user