bypass registry check

This commit is contained in:
Adrian Bergqvist 2023-12-22 17:01:12 +01:00
parent 692e7c9e79
commit dc3a26f6fe
No known key found for this signature in database
GPG Key ID: FAE7D8EDE225E686

View File

@ -91,7 +91,7 @@ public enum VelocityForgeBackendConnectionPhase implements BackendConnectionPhas
throw new RuntimeException(e);
}
}).thenAcceptAsync((v) -> {
if (clientPhase.forgeHandshake.isCompatible(handshake)) {
if (true) {
server.ensureConnected().write(clientPhase.forgeHandshake.getModListReplyPacket());
} else {
server.disconnect();