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