runejs / server

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.
GNU General Public License v3.0
238 stars 82 forks source link

Fixing a bug causing dialogue to crash and fail #397

Closed Katilith closed 1 year ago

Katilith commented 1 year ago

Currently on develop, attempting to talk to an NPC results in the following error and the dialogue tree does not initialize:

image

This PR fixes it. :)

image