Skip to content

Commit

Permalink
Fix WECUI mod compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Jan 31, 2024
1 parent bd39979 commit f8490b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,10 @@ public static String validateAndCorrectChannel(@NotNull String channel) {
return "BungeeCord";
}
if (channel.length() > Messenger.MAX_CHANNEL_SIZE) {
throw new ChannelNameTooLongException(channel);
// throw new ChannelNameTooLongException(channel);
}
if (channel.indexOf(':') == -1) {
throw new IllegalArgumentException("Channel must contain : separator (attempted to use " + channel + ")");
// throw new IllegalArgumentException("Channel must contain : separator (attempted to use " + channel + ")");
}
if (!channel.toLowerCase(Locale.ROOT).equals(channel)) {
// TODO: use NamespacedKey validation here
Expand Down

0 comments on commit f8490b3

Please sign in to comment.