mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
fix: palworld not respecting response schema (#666)
* fix: palworld not respecting schema * docs: add number to changelog
This commit is contained in:
parent
580c27b661
commit
a62f623134
4 changed files with 6 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ export default class palworld extends Core {
|
|||
|
||||
const { players } = await this.makeCall('players')
|
||||
state.numplayers = players.length
|
||||
state.players = players.map(p => p.name)
|
||||
state.players = players.map((player) => ({ name: player.name, raw: player }))
|
||||
state.raw.players = players
|
||||
|
||||
state.raw.settings = await this.makeCall('settings')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue