From d15b318e9ded5afbc2448714ec513abb5f132bcb Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 17 Dec 2020 14:50:26 +0000 Subject: [PATCH] Remove fake players --- src/api.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/api.ts b/src/api.ts index 32cd0bb..77690f6 100644 --- a/src/api.ts +++ b/src/api.ts @@ -504,21 +504,21 @@ export default { }); //Extra fake players for testing - for(let i = 0; i < 150; i++) { - players.add({ - account: "VIDEO GAMES " + i, - health: Math.round(Math.random() * 10), - armor: Math.round(Math.random() * 10), - name: "VIDEO GAMES " + i, - sort: 0, - location: { - x: Math.round(Math.random() * 1000) - 500, - y: 64, - z: Math.round(Math.random() * 1000) - 500, - world: "world", - } - }); - } + // for(let i = 0; i < 150; i++) { + // players.add({ + // account: "VIDEO GAMES " + i, + // health: Math.round(Math.random() * 10), + // armor: Math.round(Math.random() * 10), + // name: "VIDEO GAMES " + i, + // sort: 0, + // location: { + // x: Math.round(Math.random() * 1000) - 500, + // y: 64, + // z: Math.round(Math.random() * 1000) - 500, + // world: "world", + // } + // }); + // } return { worldState: {