LightingLuminol icon indicating copy to clipboard operation
LightingLuminol copied to clipboard

PlayerTeleportEvent.TeleportCause 始终为 UNKNOWN

Open ClayCoffee opened this issue 1 month ago • 2 comments

服务端版本 LightingLuminolMC Version

[17:39:23 INFO]: This server is running LightingLuminol version 1.21.8-DEV-ver/1.21.8@8da0e8f (2025-11-11T02:10:16Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)

预期的行为 Expected behavior

PlayerTeleportEvent中e.getCause()正常工作

观测到的实际行为 Observed/Actual behavior

PlayerTeleportEvent中e.getCause()的返回值始终为UNKNOWN

复现步骤 Steps/models to reproduce

@EventHandler public void playerTeleport(PlayerTeleportEvent e) { System.out.println(e.getCause()); }

插件与数据包列表。 Plugin and Datapack List.

更多详细信息。 The more information.

在Folia和Luminol上不会触发此事件

ClayCoffee avatar Nov 14 '25 09:11 ClayCoffee