Requirenonnull on channel key

This commit is contained in:
Draycia committed 2022-03-09 18:38:48 -08:00
1 parent b6d359775a
commit ef7547c702
1 file changed
+1 -1
@@ -177,7 +177,7 @@ public final class ConfigChatChannel implements ChatChannel {
@Override
public @NonNull Key key() {
return this.key;
return Objects.requireNonNull(this.key);
}
private @Nullable ConfigChannelMessageService createMessageService() {