Compare commits

..

2 commits

Author SHA1 Message Date
fancymelonhub
4dcff0f7bd
why did it do that 2022-07-06 16:44:23 -04:00
fancymelonhub
f3a366b830
Update Level.js 2022-07-06 16:30:58 -04:00

View file

@ -27,6 +27,7 @@ class Level {
this.gameVersion = levelInfo[13] > 17 ? (levelInfo[13] / 10).toFixed(1) : levelInfo[13] == 11 ? "1.8" : levelInfo[13] == 10 ? "1.7" : "Pre-1.7"
if (levelInfo[28]) this.uploaded = levelInfo[28] + (server.timestampSuffix || "")
if (levelInfo[29]) this.updated = levelInfo[29] + (server.timestampSuffix || "")
if (levelInfo[13] < 21) this.editorTime = 0, this.totalEditorTime = 0
if (levelInfo[46]) this.editorTime = +levelInfo[46] || 0
if (levelInfo[47]) this.totalEditorTime = +levelInfo[47] || 0
if (levelInfo[27]) this.password = levelInfo[27];
@ -88,4 +89,4 @@ class Level {
}
}
module.exports = Level;
module.exports = Level;