You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d8eb06f
Browse filesBrowse the repository at this point in the historyBrowse files
In 1.13-pre2 and below, the game did not validate channel names, so Minecraft itself used names like `MC|Brand`. If you require a channel name with this convention, you can use the `fromLegacy` factory methods instead.
throwChannelIdentifierException.invalidNamespace(namespace, "null or empty");
68
-
}
69
85
if (namespace.length() > MAX_LENGTH_NAMESPACE) {
70
86
throwChannelIdentifierException.invalidNamespace(namespace, "length " + namespace.length() + " is greater than maximum allowed " + MAX_LENGTH_NAMESPACE);
throwChannelIdentifierException.invalidIdentifier(identifier, "null or empty");
85
-
}
86
96
if (identifier.length() > MAX_LENGTH_IDENTIFIER) {
87
97
throwChannelIdentifierException.invalidIdentifier(identifier, "length " + identifier.length() + " is greater than maximum allowed " + MAX_LENGTH_IDENTIFIER);
0 commit comments