Rename the class in Player.js to Player #202

Merged
xparadoxical merged 1 commit from patch-1 into master 2022-02-07 20:25:11 -03:00

View file

@ -1,6 +1,6 @@
const colors = require('../misc/icons/colors.json'); const colors = require('../misc/icons/colors.json');
class Level { class Player {
constructor(account) { constructor(account) {
this.username = account[1] || "-", this.username = account[1] || "-",
this.playerID = account[2], this.playerID = account[2],
@ -50,4 +50,4 @@ class Level {
} }
} }
module.exports = Level; module.exports = Player;