Skip to content

Commit

Permalink
Coerce unset build memory value to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyker committed Oct 11, 2024
1 parent bfbd173 commit c82797e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
};

Expand Down

0 comments on commit c82797e

Please sign in to comment.