Forward stdin in AbstractRunTask. Fixes begin unable to run server commands.
This commit is contained in:
parent
2b9907e0f0
commit
0248bacc16
1 changed files with 3 additions and 0 deletions
|
@ -33,5 +33,8 @@ public class RunGameTask extends AbstractRunTask {
|
|||
@Inject
|
||||
public RunGameTask(RunConfigSettings settings) {
|
||||
super(proj -> RunConfig.runConfig(proj, settings));
|
||||
|
||||
// Defaults to empty, forwards stdin to mc.
|
||||
setStandardInput(System.in);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue