From c82797e95be9d890460d71e166d5520b32f3a6d2 Mon Sep 17 00:00:00 2001 From: Pedro Cunha Date: Fri, 11 Oct 2024 16:12:49 +0100 Subject: [PATCH] Coerce unset build memory value to zero --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 2706224..70223e0 100644 --- a/server.js +++ b/server.js @@ -275,7 +275,7 @@ function getBuildResponse(modpack, build, options, callback) { minecraft: build.minecraft, forge: build.forge, java: build.min_java, - memory: build.min_memory ? build.min_memory.toString() : null, + memory: build.min_memory || 0, mods: [] };