Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在使用/give指令时收到了PlayerDropItemEvent事件 #1647

Open
5 tasks done
NoNameGMM opened this issue Feb 9, 2025 · 0 comments
Open
5 tasks done

在使用/give指令时收到了PlayerDropItemEvent事件 #1647

NoNameGMM opened this issue Feb 9, 2025 · 0 comments
Labels
Category: Bukkt API Implementation issues with Bukkit API and Spigot API Version: 1.18

Comments

@NoNameGMM
Copy link

NoNameGMM commented Feb 9, 2025

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

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

Arclight 版本

Arclight-1.18-build1.0.12

Java 版本 | 操作系统

openjdk version "17.0.12" 2024-07-16 LTS
OpenJDK Runtime Environment Zulu17.52+17-CA (build 17.0.12+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.52+17-CA (build 17.0.12+7-LTS, mixed mode, sharing)

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

一个用来测试的插件

错误描述

在使用/give 指令后,后台会收到来自插件的 有关玩家丢弃物品的事件

复现步骤

1.编写插件,仅包含此功能:

@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerDropItem(PlayerDropItemEvent event) {
   Log.info("DROP!");
}

2.在服务端或客户端发送/give 玩家 物品

3.后台将会收到DROP!

报错信息

latest.log

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

No response

@qyl27 qyl27 added Version: 1.18 Category: Bukkt API Implementation issues with Bukkit API and Spigot API labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bukkt API Implementation issues with Bukkit API and Spigot API Version: 1.18
Projects
None yet
Development

No branches or pull requests

2 participants