Skip to content

Commit

Permalink
fix: script not working for 32 bit version
Browse files Browse the repository at this point in the history
  • Loading branch information
NearW committed Apr 18, 2021
1 parent 91ee8e5 commit b4874f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function startServer() {
deleteWorldFolder()
await initSeed(SEEDS, configuration)

const server = spawn("java", ["-d64", `-Xms${MIN_RAM}G`, `-Xmx${MAX_RAM}G`, "-jar", "server.jar", "nogui"])
const server = spawn("java", [`-Xms${MIN_RAM}G`, `-Xmx${MAX_RAM}G`, "-jar", "server.jar", "nogui"])
redirectStdio(server)

server.stdout.on("data", data => {
Expand Down

0 comments on commit b4874f1

Please sign in to comment.