fix starmade version
This commit is contained in:
parent
f5fd6d9121
commit
01c72c941f
|
@ -57,7 +57,7 @@ export default class starmade extends Core {
|
|||
this.logger.debug('Received raw data array', data)
|
||||
|
||||
if (typeof data[0] === 'number') state.raw.infoVersion = data[0]
|
||||
if (typeof data[1] === 'number') state.version = data[1]
|
||||
if (typeof data[1] === 'string') state.version = data[1]
|
||||
if (typeof data[2] === 'string') state.name = data[2]
|
||||
if (typeof data[3] === 'string') state.raw.description = data[3]
|
||||
if (typeof data[4] === 'number') state.raw.startTime = data[4]
|
||||
|
|
Loading…
Reference in New Issue