Forward stdin in AbstractRunTask. Fixes begin unable to run server commands.
parent
2b9907e0f0
commit
0248bacc16
|
@ -33,5 +33,8 @@ public class RunGameTask extends AbstractRunTask {
|
||||||
@Inject
|
@Inject
|
||||||
public RunGameTask(RunConfigSettings settings) {
|
public RunGameTask(RunConfigSettings settings) {
|
||||||
super(proj -> RunConfig.runConfig(proj, settings));
|
super(proj -> RunConfig.runConfig(proj, settings));
|
||||||
|
|
||||||
|
// Defaults to empty, forwards stdin to mc.
|
||||||
|
setStandardInput(System.in);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue