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
242 stars 83 forks source link

fix: check global instance correctly #413

Closed Jameskmonger closed 1 year ago

Jameskmonger commented 1 year ago

global instance now has an ID so we need to check against it rather than checking for null

fixes #399