Merge branch 'pr/51'

This commit is contained in:
Pierce 2020-08-23 23:38:28 -04:00
commit 1f50ad1ff8
2 changed files with 4 additions and 4 deletions

View file

@ -38,8 +38,8 @@ let opts = {
type: "release" type: "release"
}, },
memory: { memory: {
max: "6000", max: "6G",
min: "4000" min: "4G"
} }
} }

View file

@ -99,8 +99,8 @@ class MCLCore extends EventEmitter {
'-Dfml.ignorePatchDiscrepancies=true', '-Dfml.ignorePatchDiscrepancies=true',
'-Dfml.ignoreInvalidMinecraftCertificates=true', '-Dfml.ignoreInvalidMinecraftCertificates=true',
`-Djava.library.path=${nativePath}`, `-Djava.library.path=${nativePath}`,
`-Xmx${this.options.memory.max}M`, `-Xmx${this.options.memory.max}`,
`-Xms${this.options.memory.min}M` `-Xms${this.options.memory.min}`
] ]
if (this.handler.getOS() === 'osx') { if (this.handler.getOS() === 'osx') {
if (parseInt(versionFile.id.split('.')[1]) > 12) jvm.push(await this.handler.getJVM()) if (parseInt(versionFile.id.split('.')[1]) > 12) jvm.push(await this.handler.getJVM())