Remove fake players
This commit is contained in:
parent
d1fff4e120
commit
d15b318e9d
30
src/api.ts
30
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: {
|
||||
|
Loading…
Reference in New Issue
Block a user