Remove complex players setter overload (3.0.8)

This commit is contained in:
Michael Morrison 2021-12-09 18:08:36 -06:00
parent c46e8efb0d
commit 5c2d15df49
13 changed files with 23 additions and 32 deletions

View file

@ -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];
}
}