From 67e0cd8809e9b54a2fa104dfc0bb4ccca3a0dd14 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt <2270806+jammsen@users.noreply.github.com> Date: Sun, 21 Jan 2024 22:16:56 +0100 Subject: [PATCH] Fix: Palworld results - Name of the server is empty (#497) * Fix: Palworld results - Name of the server is empty * #497 - refactor of feedback * #497 - refactor of feedback from Cosmin --- protocols/palworld.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protocols/palworld.js b/protocols/palworld.js index 6894bb2..973db49 100644 --- a/protocols/palworld.js +++ b/protocols/palworld.js @@ -10,4 +10,9 @@ export default class palworld extends Epic { this.deploymentId = '0a18471f93d448e2a1f60e47e03d3413' this.authByExternalToken = true } + + async run (state) { + await super.run(state) + state.name = state.raw.attributes.NAME_s + } }