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

Chat Options Error When Talking to NPC Without Dialogue #739

Open
AntumDeluge opened this issue Jun 9, 2024 · 0 comments
Open

Chat Options Error When Talking to NPC Without Dialogue #739

AntumDeluge opened this issue Jun 9, 2024 · 0 comments
Labels
component: webclient Related to the web client. type: bug Causes a negative impact or not working as intended.
Milestone

Comments

@AntumDeluge
Copy link
Member

🐞 Describe the bug

Came across the following error in web client when attempting to talk with an NPC without dialogue:

Uncaught TypeError: $module$build$ts$util$Chat$default$$.$Chat$.options[0] is undefined
    $execute$ ChatOptionsEvent.ts:43
    $onEvent$ RPObject.ts:36
    $addChanges$ perception.js:424
    $applyPerceptionMyRPObject$ perception.js:283
    apply perception.js:170
    $onPerception$ client-framework.js:210
    t19 message-factory.js:57
    $onMessage$ client-framework.js:114
3 ChatOptionsEvent.ts:43:34
    $execute$ ChatOptionsEvent.ts:43
    $onEvent$ RPObject.ts:36
    $addChanges$ perception.js:424
    $applyPerceptionMyRPObject$ perception.js:283
    apply perception.js:170
    $onPerception$ client-framework.js:210
    t19 message-factory.js:57
    $onMessage$ client-framework.js:114

Not a serious error as generally there are no SpeakerNPC instances without dialogue. But probably should be handled anyway.

🌍 Environment

  • Web client
@AntumDeluge AntumDeluge added type: bug Causes a negative impact or not working as intended. component: webclient Related to the web client. labels Jun 9, 2024
@AntumDeluge AntumDeluge added this to the 1.48 milestone Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: webclient Related to the web client. type: bug Causes a negative impact or not working as intended.
Projects
None yet
Development

No branches or pull requests

1 participant