mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 17:07:34 +01:00
Fix incorrect ansi code being used for bold (#8000)
Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
This commit is contained in:
parent
17c1c6c3e7
commit
94ef34cd0f
@ -65,7 +65,7 @@ index c3631efda9c7fa531a8a9f18fbee7b5f8655382b..9a3c1314d5a0aa20380662595359580b
|
|||||||
}
|
}
|
||||||
diff --git a/src/main/java/io/papermc/paper/console/HexFormattingConverter.java b/src/main/java/io/papermc/paper/console/HexFormattingConverter.java
|
diff --git a/src/main/java/io/papermc/paper/console/HexFormattingConverter.java b/src/main/java/io/papermc/paper/console/HexFormattingConverter.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..f39ae450e316255d315aeb362bf967eadef6ba23
|
index 0000000000000000000000000000000000000000..b4d0b7ecd56ab952319946854168c1299cb0b1be
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/io/papermc/paper/console/HexFormattingConverter.java
|
+++ b/src/main/java/io/papermc/paper/console/HexFormattingConverter.java
|
||||||
@@ -0,0 +1,212 @@
|
@@ -0,0 +1,212 @@
|
||||||
@ -138,7 +138,7 @@ index 0000000000000000000000000000000000000000..f39ae450e316255d315aeb362bf967ea
|
|||||||
+ formatHexAnsi(NamedTextColor.YELLOW), // Yellow §e
|
+ formatHexAnsi(NamedTextColor.YELLOW), // Yellow §e
|
||||||
+ formatHexAnsi(NamedTextColor.WHITE), // White §f
|
+ formatHexAnsi(NamedTextColor.WHITE), // White §f
|
||||||
+ "\u001B[5m", // Obfuscated §k
|
+ "\u001B[5m", // Obfuscated §k
|
||||||
+ "\u001B[21m", // Bold §l
|
+ "\u001B[1m", // Bold §l
|
||||||
+ "\u001B[9m", // Strikethrough §m
|
+ "\u001B[9m", // Strikethrough §m
|
||||||
+ "\u001B[4m", // Underline §n
|
+ "\u001B[4m", // Underline §n
|
||||||
+ "\u001B[3m", // Italic §o
|
+ "\u001B[3m", // Italic §o
|
||||||
@ -162,7 +162,7 @@ index 0000000000000000000000000000000000000000..f39ae450e316255d315aeb362bf967ea
|
|||||||
+ "\u001B[0;33;1m", // Yellow §e
|
+ "\u001B[0;33;1m", // Yellow §e
|
||||||
+ "\u001B[0;37;1m", // White §f
|
+ "\u001B[0;37;1m", // White §f
|
||||||
+ "\u001B[5m", // Obfuscated §k
|
+ "\u001B[5m", // Obfuscated §k
|
||||||
+ "\u001B[21m", // Bold §l
|
+ "\u001B[1m", // Bold §l
|
||||||
+ "\u001B[9m", // Strikethrough §m
|
+ "\u001B[9m", // Strikethrough §m
|
||||||
+ "\u001B[4m", // Underline §n
|
+ "\u001B[4m", // Underline §n
|
||||||
+ "\u001B[3m", // Italic §o
|
+ "\u001B[3m", // Italic §o
|
||||||
|
Loading…
Reference in New Issue
Block a user