diff --git a/paper/src/main/java/net/draycia/carbon/paper/listeners/DiscordMessageListener.java b/paper/src/main/java/net/draycia/carbon/paper/listeners/DiscordMessageListener.java index eb74e4e81..f8be98c4b 100644 --- a/paper/src/main/java/net/draycia/carbon/paper/listeners/DiscordMessageListener.java +++ b/paper/src/main/java/net/draycia/carbon/paper/listeners/DiscordMessageListener.java @@ -64,7 +64,7 @@ public void onDiscordMessage(final DiscordMessageEvent event) { var channel = result.selectedChannel(); if (channel == null) { - channel = this.carbonChat.channelRegistry().defaultChannel(); + return; } final var messageType = this.channelMessageTypes.get(channel.key());