From 46db10fcc707b934974a4d0d035808ec1c9d72e0 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt <2270806+jammsen@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:18:05 +0100 Subject: [PATCH] : 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 --- CHANGELOG.md | 2 ++ protocols/palworld.js | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e56e40a..212c54f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/protocols/palworld.js b/protocols/palworld.js index 973db49..33ca9c8 100644 --- a/protocols/palworld.js +++ b/protocols/palworld.js @@ -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 } }