Mark plugin msg channel as optional on Forge (#3954)

This commit is contained in:
Luck committed 2025-02-22 15:28:18 +00:00
1 parent f351369a51
commit 5e24a7068c
1 file changed
+1 -1
@@ -46,7 +46,7 @@ import java.util.concurrent.atomic.AtomicReference;
public class PluginMessageMessenger extends AbstractPluginMessageMessenger implements Messenger {
private static final ResourceLocation CHANNEL_ID = ResourceLocation.parse(AbstractPluginMessageMessenger.CHANNEL);
private static final EventNetworkChannel CHANNEL = ChannelBuilder.named(CHANNEL_ID).eventNetworkChannel();
private static final EventNetworkChannel CHANNEL = ChannelBuilder.named(CHANNEL_ID).optional().eventNetworkChannel();
private final LPForgePlugin plugin;