mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +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
|
|
@ -57,7 +57,7 @@ class MinecraftBedrock extends Core {
|
|||
state.name = split.shift();
|
||||
state.raw.protocolVersion = split.shift();
|
||||
state.raw.mcVersion = split.shift();
|
||||
state.players = parseInt(split.shift());
|
||||
state.players.setNum(parseInt(split.shift()));
|
||||
state.maxplayers = parseInt(split.shift());
|
||||
if (split.length) state.raw.serverId = split.shift();
|
||||
if (split.length) state.map = split.shift();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue