3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-09-29 06:30:16 +02:00

Demonize legacy formatting completely.

Velocity has always supported components from day 1. It's time to officially frown upon legacy formatting for good.
Dieser Commit ist enthalten in:
Andrew Steinborn 2021-05-18 12:09:30 -04:00
Ursprung 045b974096
Commit 0ddadc90e2

Datei anzeigen

@ -29,6 +29,8 @@ public class Velocity {
static { static {
System.setProperty("java.util.logging.manager", "org.apache.logging.log4j.jul.LogManager"); System.setProperty("java.util.logging.manager", "org.apache.logging.log4j.jul.LogManager");
System.setProperty("net.kyori.adventure.text.warnWhenLegacyFormattingDetected", "true");
logger = LogManager.getLogger(Velocity.class); logger = LogManager.getLogger(Velocity.class);
// By default, Netty allocates 16MiB arenas for the PooledByteBufAllocator. This is too much // By default, Netty allocates 16MiB arenas for the PooledByteBufAllocator. This is too much