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

dev/0.11
modmuss50 2021-10-20 23:12:49 +01:00
parent 2b9907e0f0
commit 0248bacc16
1 changed files with 3 additions and 0 deletions

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