Closed Zanderkat closed 1 year ago
I would guess there is an error in the data file that stops any of it being run, and hence there is no player object. That said, none of the errors you report mention data.js. Kind of clutching at straws here, but is it possible there are more errors if you scroll up in the developer console?
This issue actually resolves when I delete all other code from this file (except the player object), so you are right in that it's an issue with another bug in the data file.
After conversion, the following error occurs:
Along with the following:
I checked my data.js file and the player object is the first one created. I even replaced mine with the example from the wiki and the error still occurs.