Closed Zielin0 closed 1 year ago
/home/ziel/dev/hypicle/api/player/player.handler.ts:219 const { displayname, playername } = (await this.getPlayerData()).player; ^ TypeError: Cannot destructure property 'displayname' of '(intermediate value).player' as it is null.
This error occurs when the player object from Hypixel API is just null.
player
null
Fixed in v1.0.1.
This error occurs when the
player
object from Hypixel API is justnull
.