Skip to content

Commit 4bf3cc5

Browse files
committed
fix args not found api
1 parent 1f2eb30 commit 4bf3cc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/assets/js/panels/home.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ class Home {
234234
path: configClient.java_config.java_path,
235235
},
236236

237-
JVM_ARGS: options.jvm_args,
238-
GAME_ARGS: options.game_args,
237+
JVM_ARGS: options.jvm_args ? options.jvm_args : [],
238+
GAME_ARGS: options.game_args ? options.game_args : [],
239239

240240
screen: {
241241
width: configClient.game_config.screen_size.width,

0 commit comments

Comments
 (0)