1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-24 01:09:19 +00:00

Suppress PMD warning

This commit is contained in:
Camotoy
2021-05-29 11:10:53 -04:00
parent b20c63fefa
commit c529cde773

View File

@@ -46,7 +46,7 @@ public final class ProxyUtils {
velocitySupport = getField(paperConfig, "velocitySupport");
} catch (ClassNotFoundException e) {
// We're not on a platform that has modern forwarding
velocitySupport = null;
velocitySupport = null; // NOPMD - there's really not a better way around this unless you want to use an optional
}
IS_MODERN_FORWARDING = velocitySupport;
}