Skip to content

Commit

Permalink
Minimise netty version
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Dec 3, 2022
1 parent fef03ea commit 9da5ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/main/java/net/citizensnpcs/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public static boolean requiresNettyChannelMetadata() {
int major = parts[0];
int minor = parts[1];
int patch = parts[2];
return REQUIRES_CHANNEL_METADATA = major >= 5 || major == 4 && (minor > 1 || patch >= 25);
return REQUIRES_CHANNEL_METADATA = major >= 5 || major == 4 && (minor > 1 || patch >= 1);
} catch (Throwable t) {
t.printStackTrace();
return REQUIRES_CHANNEL_METADATA = true;
Expand Down

0 comments on commit 9da5ac7

Please sign in to comment.