mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
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
This commit is contained in:
parent
7f373212bb
commit
67e0cd8809
1 changed files with 5 additions and 0 deletions
|
|
@ -10,4 +10,9 @@ export default class palworld extends Epic {
|
||||||
this.deploymentId = '0a18471f93d448e2a1f60e47e03d3413'
|
this.deploymentId = '0a18471f93d448e2a1f60e47e03d3413'
|
||||||
this.authByExternalToken = true
|
this.authByExternalToken = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async run (state) {
|
||||||
|
await super.run(state)
|
||||||
|
state.name = state.raw.attributes.NAME_s
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue