This commit is contained in:
asie
2018-12-12 07:10:30 +01:00
parent 0f51d2142f
commit b00b42e3bf
5 changed files with 30 additions and 9 deletions

View File

@@ -46,8 +46,7 @@ public class RunClientTask extends JavaExec {
for (File file : getProject().getConfigurations().getByName("compile").getFiles()) {
libs.add(file.getAbsolutePath());
}
//Used to add the fabric jar that has been built
for (File file : new File(getProject().getBuildDir(), "libs").listFiles()) {
for (File file : extension.getUnmappedMods()) {
if (file.isFile()) {
libs.add(file.getAbsolutePath());
}