diff --git a/forge/src/main/java/fr/rakambda/fallingtree/forge/network/ForgePacketHandler.java b/forge/src/main/java/fr/rakambda/fallingtree/forge/network/ForgePacketHandler.java index 39a71bda..f8555c69 100644 --- a/forge/src/main/java/fr/rakambda/fallingtree/forge/network/ForgePacketHandler.java +++ b/forge/src/main/java/fr/rakambda/fallingtree/forge/network/ForgePacketHandler.java @@ -16,7 +16,7 @@ @RequiredArgsConstructor public class ForgePacketHandler implements ClientPacketHandler, ServerPacketHandler{ public static final SimpleChannel INSTANCE = net.minecraftforge.network.ChannelBuilder.named(new ResourceLocation(FallingTree.MOD_ID, "main")) - .optionalClient() + .optional() .simpleChannel(); private static final int CONFIGURATION_MESSAGE_ID = 1;