Adjust ChannelMetadata Netty version

This commit is contained in:
fullwall 2022-12-01 22:39:26 +08:00
parent 8a65d4a5a0
commit b00ef080c0

View File

@ -359,7 +359,7 @@ public class Util {
int major = parts[0];
int minor = parts[1];
int patch = parts[2];
return REQUIRES_CHANNEL_METADATA = major >= 5 || major == 4 && (minor > 1 || patch >= 64);
return REQUIRES_CHANNEL_METADATA = major >= 5 || major == 4 && (minor > 1 || patch >= 25);
} catch (Throwable t) {
t.printStackTrace();
return REQUIRES_CHANNEL_METADATA = true;