diff --git a/neoforge/src/main/java/org/figuramc/figura/neoforge/FiguraModClientNeoForge.java b/neoforge/src/main/java/org/figuramc/figura/neoforge/FiguraModClientNeoForge.java index 9fc4ae7ba..3c0f3f130 100644 --- a/neoforge/src/main/java/org/figuramc/figura/neoforge/FiguraModClientNeoForge.java +++ b/neoforge/src/main/java/org/figuramc/figura/neoforge/FiguraModClientNeoForge.java @@ -46,16 +46,16 @@ public static void onInitializeClient(FMLClientSetupEvent event) { @SubscribeEvent public static void register(final RegisterPayloadHandlerEvent event) { IPayloadRegistrar registrar; - registrar = event.registrar(FiguraMod.resReconnect.getNamespace()); + registrar = event.registrar(FiguraMod.resReconnect.getNamespace()).optional(); registrar.play(FiguraMod.resReconnect, ReconnectPayload::new, handler -> handler .client((data, context) -> FiguraMod.reconnect())); - registrar = event.registrar(FiguraMod.resUuid.getNamespace()); + registrar = event.registrar(FiguraMod.resUuid.getNamespace()).optional(); registrar.play(FiguraMod.resUuid, UuidPayload::new, handler -> handler .client((data, context) -> { UUID uuid = data.uuid(); FiguraMod.updateLocalUUID(uuid); })); - registrar = event.registrar(FiguraMod.resWardrobe.getNamespace()); + registrar = event.registrar(FiguraMod.resWardrobe.getNamespace()).optional(); registrar.play(FiguraMod.resWardrobe, WardrobePayload::new, handler -> handler .client((data, context) -> FiguraMod.openWardrobe())); }