1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-08-23 22:52:48 +02:00

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

This commit is contained in:
Luck
2025-02-22 15:28:15 +00:00
parent f351369a51
commit 5e24a7068c

View File

@@ -46,7 +46,7 @@ import java.util.concurrent.atomic.AtomicReference;
public class PluginMessageMessenger extends AbstractPluginMessageMessenger implements Messenger { public class PluginMessageMessenger extends AbstractPluginMessageMessenger implements Messenger {
private static final ResourceLocation CHANNEL_ID = ResourceLocation.parse(AbstractPluginMessageMessenger.CHANNEL); 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; private final LPForgePlugin plugin;