Muska-Ami / CatSero

一个基于MiraiMC的QQ群功能&MC功能插件
https://blog.ovome.icu
GNU Affero General Public License v3.0
29 stars 3 forks source link

最新2.2版本 无法转发启用 #76

Closed wanyanjiabin closed 1 year ago

wanyanjiabin commented 1 year ago

问题描述

无法转发qq群消息

复现方法

服务端版本

paper 1.19.2

CatSero 版本

2.2

服务端日志

[18:22:56] [Server thread/WARN]: [CatSero] [Catch] 捕获到一个错误
[18:22:56] [Server thread/WARN]: [CatSero] [Catch] 错误类型: java.util.NoSuchElementException
[18:22:56] [Server thread/WARN]: [CatSero] [Catch] 捕获消息: 0
[18:22:56] [Server thread/WARN]: [CatSero] [Catch] 详细信息: [[QQ机器人]MiraiMC-Bukkit1.7.1.jar//net.mamoe.mirai.Bot$Companion.getInstance(Bot.kt:205), [QQ机器人]MiraiMC-Bukkit1.7.1.jar//net.mamoe.mirai.Bot.getInstance(Bot.kt), [QQ机器人]MiraiMC-Bukkit1.7.1.jar//me.dreamvoid.miraimc.api.MiraiBot.<init>(MiraiBot.java:45), [QQ机器人]MiraiMC-Bukkit1.7.1.jar//me.dreamvoid.miraimc.api.MiraiBot.getBot(MiraiBot.java:73), [QQ机器人]CatSero-2.2.jar//moe.xmcn.catsero.utils.MessageSender.sendGroup(MessageSender.java:32), [QQ机器人]CatSero-2.2.jar//moe.xmcn.catsero.listeners.joinquitforward.OnPlayerJoin.run(OnPlayerJoin.java:57), [QQ机器人]CatSero-2.2.jar//moe.xmcn.catsero.listeners.joinquitforward.OnPlayerJoin.onGamePlayerJoinEvent(OnPlayerJoin.java:45), com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor220.execute(Unknown Source), org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77), co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80), org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70), org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:670), net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:372), net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$0(PlayerList.java:309), net.minecraft.server.TickTask.run(TickTask.java:18), net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153), net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24), net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1341), net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185), net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126), net.minecraft.server.MinecraftServer.bh(MinecraftServer.java:1318), net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1311), net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136), net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1389), net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1173), net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305), java.base/java.lang.Thread.run(Thread.java:833)]
[18:22:56] [Server thread/WARN]: [CatSero] [Catch] 如您认为这不是配置错误、网络原因导致的问题,请前往此处报告:
[18:22:56] [Server thread/WARN]: [CatSero] [Catch] https://github.com/XiaMoHuaHuo-CN/CatSero/issues

[18:27:18 INFO]: ===== CatSero Runtime Checker =====
[18:27:18 INFO]: Server Version: git-Paper-302 (MC: 1.19.2)
[18:27:18 INFO]: Bukkit Version: 1.19.2-R0.1-SNAPSHOT
[18:27:18 INFO]: Plugin Version: 2.2
[18:27:18 INFO]: Depends:
[18:27:18 INFO]: - MiraiMC => true
[18:27:18 INFO]: Soft-depends:
[18:27:18 INFO]: - PlaceholderAPI => true
[18:27:18 INFO]: - TrChat => false
[18:27:18 INFO]: ===================================

额外说明

使用chatqq可以正常转发 没有安装TrChat 服务器开启了去除聊天签名插件

Muska-Ami commented 1 year ago

请您认真阅读readme再提交Issue

Muska-Ami commented 1 year ago

https://github.com/XiaMoHuaHuo-CN/CatSero#bot--group--qqop%E9%85%8D%E7%BD%AE%E6%8C%87%E5%8D%97