Arclight icon indicating copy to clipboard operation
Arclight copied to clipboard

Nyf's Quivers 在使用快捷键打开箭袋时会报InventoryOpenEvent相关错误导致玩家断开连接

Open Neboer opened this issue 1 year ago • 0 comments

请确认您已完成以下几件事

  • [X] 正在使用最新的 Arclight
  • [X] 已为所有插件及模组安装依赖
  • [X] 已为所有插件及模组更新至最新版
  • [X] 不可在 Spigot 复现
  • [X] 不可在 Forge 复现

Arclight 版本

arclight-1.20.1-1.0.3-SNAPSHOT-610953f

Java 版本 | 操作系统

Windows java version "19.0.2" 2023-01-17 Java(TM) SE Runtime Environment (build 19.0.2+7-44) Java HotSpot(TM) 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing)

相关 Mod/插件 的名称及版本

[Nyf's Quivers] https://www.curseforge.com/minecraft/mc-mods/nyfs-quivers 1.20.1-forge-1.0.1
[curios] https://www.curseforge.com/minecraft/mc-mods/curios curios-forge-5.4.5+1.20.1

错误描述

当玩家装备此mod提供的箭袋时,按B尝试打开装备的箭袋,会导致服务器报错

Internal Exception: java.lang.IllegalStateException: InventoryOpenEvent cannot be triggered asynchronously from another thread.

然后玩家与服务器断开连接。

复现步骤

  1. 安装arclight-1.20.1-1.0.3-SNAPSHOT-610953f(actions构建),安装mc服务器。
  2. 从https://www.curseforge.com/minecraft/mc-mods/curios 下载curios-forge-5.4.5+1.20.1.jar,安装到mods文件夹。
  3. 从https://www.curseforge.com/minecraft/mc-mods/nyfs-quivers 下载nyfsquiver-1.20.1-forge-1.0.1.jar,安装到mods文件夹。
  4. 进入游戏。执行/give @a nyfsquiver:basic_quiver,得到箭袋。
  5. 按E打开物品栏,点击饰品按钮,将箭袋放在“箭袋”栏位。 1 2
  6. 按B尝试打开箭袋,游戏崩溃,玩家强制退出,屏幕上显示报错Internal Exception: java.lang.IllegalStateException: InventoryOpenEvent cannot be triggered asynchronously from another thread. error

报错信息

debug.log latest.log

复现用压缩包下载链接(可选)

No response

Neboer avatar Dec 13 '23 14:12 Neboer