Skip to content

Commit

Permalink
移除内置的签名服务支持
Browse files Browse the repository at this point in the history
该跑路的都跑路了,留着还有什么意义
  • Loading branch information
DreamVoid committed Jun 16, 2024
1 parent e4b1f37 commit 5d21594
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 512 deletions.
12 changes: 0 additions & 12 deletions MiraiMC-Base/src/main/java/me/dreamvoid/miraimc/LifeCycle.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,6 @@ public void preLoad() throws IOException {
logger.info("MiraiMC will not load mirai core, please ensure you have custom mirai core loaded.");
}

// 加载 EncryptService
if(PluginConfig.Bot.RegisterEncryptService){
logger.info("Registering Mirai Encrypt Service.");
try{
MiraiEncryptServiceFactory.install();
} catch (NoClassDefFoundError error){
logger.severe("Failed to register encrypt service, please use mirai 2.15.0-dev-105 or later.");
} catch (Throwable cause){
logger.severe("Failed to register encrypt service: " + cause);
}
}

// 加载来自 cssxsh 的 fix-protocol-version
if(PluginConfig.Bot.UpdateProtocolVersion){
logger.info("Updating mirai protocol version. (Author: cssxsh)");
Expand Down

This file was deleted.

Loading

0 comments on commit 5d21594

Please sign in to comment.