Forward stdin in AbstractRunTask. Fixes begin unable to run server commands.

This commit is contained in:
modmuss50 2021-10-20 23:12:49 +01:00
parent 2b9907e0f0
commit 0248bacc16

View file

@ -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);
}
}