Skip to content

[Bug]: onNpcCmd事件似乎不起作用 #226

@yangyangzhong82

Description

@yangyangzhong82

Describe the bug

Image

按照上图代码所写,结果在开启服务器时报以下错误
Image

其他事件类似这样的写法并没有报错,只有这个事件报错,且是在开启服务器时报错,说明这个onNpcCmd事件可能并不存在,怀疑是lse的问题

To Reproduce

写下相关代码,开启服务器

Expected behavior

应该不会有报错

Screenshots

No response

Platform

No response

BDS Version

1.21.50

LeviLamina Version

1.0.0

LegacyScriptEngine Version

0.9.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtodo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions