1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-16 18:31:53 +01:00

I give up on trying to teach people to avoid the incorrect ways.

This commit is contained in:
Riley Park 2021-05-16 23:54:43 -07:00
parent 282e51eda2
commit 2d83abfdc1

View file

@ -1806,7 +1806,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public static void main(String[] args) {
+ // Paper start
+ 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));
+ }
+ // Paper end