From 0cef98dec0a30cabb69bf85858fdc580b2305d04 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 26 Apr 2022 12:59:19 +0100 Subject: [PATCH] Fix OfflineAudioFactory configuration --- mirai-core-api/src/commonMain/kotlin/message/data/Audio.kt | 2 +- ...actory => net.mamoe.mirai.message.data.OfflineAudio$Factory} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename mirai-core/src/commonMain/resources/META-INF/services/{net.mamoe.mirai.message.data.OfflineAudio.Factory => net.mamoe.mirai.message.data.OfflineAudio$Factory} (100%) diff --git a/mirai-core-api/src/commonMain/kotlin/message/data/Audio.kt b/mirai-core-api/src/commonMain/kotlin/message/data/Audio.kt index c9aa7dc3b..d597368c2 100644 --- a/mirai-core-api/src/commonMain/kotlin/message/data/Audio.kt +++ b/mirai-core-api/src/commonMain/kotlin/message/data/Audio.kt @@ -218,7 +218,7 @@ public interface OfflineAudio : Audio { } public companion object INSTANCE : - Factory by loadService("net.mamoe.mirai.internal.message.OfflineAudioFactoryImpl") + Factory by loadService("net.mamoe.mirai.internal.message.data.OfflineAudioFactoryImpl") } } diff --git a/mirai-core/src/commonMain/resources/META-INF/services/net.mamoe.mirai.message.data.OfflineAudio.Factory b/mirai-core/src/commonMain/resources/META-INF/services/net.mamoe.mirai.message.data.OfflineAudio$Factory similarity index 100% rename from mirai-core/src/commonMain/resources/META-INF/services/net.mamoe.mirai.message.data.OfflineAudio.Factory rename to mirai-core/src/commonMain/resources/META-INF/services/net.mamoe.mirai.message.data.OfflineAudio$Factory