mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
Remove complex players setter overload (3.0.8)
This commit is contained in:
parent
c46e8efb0d
commit
5c2d15df49
13 changed files with 23 additions and 32 deletions
|
|
@ -61,7 +61,7 @@ class Starmade extends Core {
|
|||
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];
|
||||
if(typeof data[5] === 'number') state.players = data[5];
|
||||
if(typeof data[5] === 'number') state.players.setNum(data[5]);
|
||||
if(typeof data[6] === 'number') state.maxplayers = data[6];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue