mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-09-21 01:41:31 +02:00
: Incorrect numplayers on Palworld (#508)
* Fix: Palworld results - Name of the server is empty * #497 - refactor of feedback * #497 - refactor of feedback from Cosmin * Fix for current-players bug - #491 and #507 * Fix for current-players bug - #491 and #507 - added changelog
This commit is contained in:
parent
c7b8fa2053
commit
46db10fcc7
@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
## To Be Released...
|
## To Be Released...
|
||||||
|
## 5.0.0-beta.1
|
||||||
|
* Fixed numplayers on Palworld not beeing accurate
|
||||||
|
|
||||||
## 5.0.0-beta.0
|
## 5.0.0-beta.0
|
||||||
### Breaking Changes
|
### Breaking Changes
|
||||||
|
@ -14,5 +14,6 @@ export default class palworld extends Epic {
|
|||||||
async run (state) {
|
async run (state) {
|
||||||
await super.run(state)
|
await super.run(state)
|
||||||
state.name = state.raw.attributes.NAME_s
|
state.name = state.raw.attributes.NAME_s
|
||||||
|
state.numplayers = state.raw.attributes.PLAYERS_l
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user