I give up on trying to teach people to avoid the incorrect ways.
Dieser Commit ist enthalten in:
Ursprung
dc7b7a1600
Commit
ec90a78595
@ -1797,7 +1797,7 @@ index ce68a6cf845af640e03819c44860590655f74cb1..cb470baa3533e4502c13982ef4e03041
|
|||||||
// Paper end
|
// Paper end
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
index 3b48799d084f14722f815cb35cbd48b618380fca..bb8ddfae48526d9b6fdc64eecb6f655f6b7665de 100644
|
index 3b48799d084f14722f815cb35cbd48b618380fca..cf6d350e6afc46bb58678192fe0b24b7d923412e 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
@@ -19,6 +19,12 @@ public class Main {
|
@@ -19,6 +19,12 @@ public class Main {
|
||||||
@ -1806,7 +1806,7 @@ index 3b48799d084f14722f815cb35cbd48b618380fca..bb8ddfae48526d9b6fdc64eecb6f655f
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ final String warnWhenLegacyFormattingDetected = String.join(".", "net", "kyori", "adventure", "text", "warnWhenLegacyFormattingDetected");
|
+ final String warnWhenLegacyFormattingDetected = String.join(".", "net", "kyori", "adventure", "text", "warnWhenLegacyFormattingDetected");
|
||||||
+ if (System.getProperty(warnWhenLegacyFormattingDetected) == null) {
|
+ if (false && System.getProperty(warnWhenLegacyFormattingDetected) == null) {
|
||||||
+ System.setProperty(warnWhenLegacyFormattingDetected, String.valueOf(true));
|
+ System.setProperty(warnWhenLegacyFormattingDetected, String.valueOf(true));
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren