Skip to content

Commit 6fd18b9

Browse files
authored
Fix file size calculation
1 parent d6574f9 commit 6fd18b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

minecraft-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async function poll () {
112112
}
113113

114114
const fancySize = size => {
115-
const mbs = size / (1024 * 1204)
115+
const mbs = size / (1024 * 1024)
116116
return mbs.toFixed(1) + 'MB'
117117
}
118118

0 commit comments

Comments
 (0)