: 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:
Sebastian Schmidt 2024-01-24 14:18:05 +01:00 committed by GitHub
parent c7b8fa2053
commit 46db10fcc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
## To Be Released...
## 5.0.0-beta.1
* Fixed numplayers on Palworld not beeing accurate
## 5.0.0-beta.0
### Breaking Changes

View File

@ -14,5 +14,6 @@ export default class palworld extends Epic {
async run (state) {
await super.run(state)
state.name = state.raw.attributes.NAME_s
state.numplayers = state.raw.attributes.PLAYERS_l
}
}