We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
onCmdBlockExecute
isMinecart
ScriptEngine (脚本引擎)
Windows Server 2022
2.9.0 Actions#54 a5eaf62
1.19.50.02
LLSE的onCmdBlockExecute事件isMinecart值总为true https://github.com/LiteLDev/LiteLoaderBDS/blob/a5eaf6290b0f3836075098148e2a5131746c4f25/ScriptEngine/src/api/EventAPI.cpp#L763-L770
理想状态
if (ev.mIsMinecart) { CallEvent(EVENT_TYPES::onCmdBlockExecute, String::newString(ev.mCommand), FloatPos::newPos(ev.mMinecart->getPosition(), ev.mMinecart->getDimensionId()), ev.mIsMinecart); } else { BlockInstance bl = ev.mBlockInstance; CallEvent(EVENT_TYPES::onCmdBlockExecute, String::newString(ev.mCommand), FloatPos::newPos(bl.getPosition().toVec3(), bl.getDimensionId()), ev.mIsMinecart); }
无关
The text was updated successfully, but these errors were encountered:
0dd004a
Successfully merging a pull request may close this issue.
异常模块
ScriptEngine (脚本引擎)
操作系统
Windows Server 2022
LiteLoader 版本
2.9.0 Actions#54 a5eaf62
BDS 版本
1.19.50.02
发生了什么?
LLSE的
onCmdBlockExecute
事件isMinecart
值总为truehttps://github.com/LiteLDev/LiteLoaderBDS/blob/a5eaf6290b0f3836075098148e2a5131746c4f25/ScriptEngine/src/api/EventAPI.cpp#L763-L770
理想状态
复现此问题的步骤
onCmdBlockExecute
的监听器有关的日志/输出
插件列表
The text was updated successfully, but these errors were encountered: