Change Minecraft_*.launch to projectname_*.launch for genEclipseRuns (#93)

dev/0.11
Dinolek 2019-05-27 22:16:44 +02:00 committed by asie
parent 4134c7ef50
commit aa3f1da1be
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ public class GenEclipseRunsTask extends AbstractLoomTask {
@TaskAction
public void genRuns() throws IOException {
File clientRunConfigs = new File(getProject().getRootDir(), "Minecraft_Client.launch");
File serverRunConfigs = new File(getProject().getRootDir(), "Minecraft_Server.launch");
File clientRunConfigs = new File(getProject().getRootDir(), getProject().getName() + "_client.launch");
File serverRunConfigs = new File(getProject().getRootDir(), getProject().getName() + "_server.launch");
String clientRunConfig = RunConfig.clientRunConfig(getProject()).fromDummy("eclipse_run_config_template.xml");
String serverRunConfig = RunConfig.serverRunConfig(getProject()).fromDummy("eclipse_run_config_template.xml");