@@ -76,7 +76,6 @@ public MultiHottaInstanceScene(MultiHottaInstance tool) {
76
76
selectBetaLocationInput = new TextField () {{
77
77
FontManager .get ().setFont (this );
78
78
}};
79
- selectBetaLocationInput .setEditable (false );
80
79
selectBetaLocationInput .setPrefWidth (450 );
81
80
var selectBetaLocationButton = new FusionButton (I18n .get ().selectButton ()) {{
82
81
setPrefWidth (48 );
@@ -384,17 +383,21 @@ private synchronized void launch() {
384
383
doWriteResListXml (config .onlineModPath , config )
385
384
));
386
385
}
387
- items .add (new LoadingItem (1 , I18n .get ().multiInstanceLaunchStep ("config.xml" ), () ->
388
- doWriteConfigXml (config .betaPath , config )
389
- ));
386
+ if (config .betaPath != null ) {
387
+ items .add (new LoadingItem (1 , I18n .get ().multiInstanceLaunchStep ("config.xml" ), () ->
388
+ doWriteConfigXml (config .betaPath , config )
389
+ ));
390
+ }
390
391
if (config .onlineModPath != null ) {
391
392
items .add (new LoadingItem (1 , I18n .get ().multiInstanceLaunchStep ("config.xml-2" ), () ->
392
393
doWriteConfigXml (config .onlineModPath , config )
393
394
));
394
395
}
395
- items .add (new LoadingItem (1 , I18n .get ().multiInstanceLaunchStep ("Client" ), () ->
396
- doMkLink (config , config .betaPath )
397
- ));
396
+ if (config .betaPath != null ) {
397
+ items .add (new LoadingItem (1 , I18n .get ().multiInstanceLaunchStep ("Client" ), () ->
398
+ doMkLink (config , config .betaPath )
399
+ ));
400
+ }
398
401
if (config .onlineModPath != null ) {
399
402
items .add (new LoadingItem (1 , I18n .get ().multiInstanceLaunchStep ("Client2" ), () ->
400
403
doMkLink (config , config .onlineModPath )
0 commit comments