One - remove dupe function

This commit is contained in:
CocoTheOwner 2021-08-15 21:45:34 +02:00
parent 4f13227d9e
commit 9d98641a94
2 changed files with 1 additions and 5 deletions

View File

@ -363,10 +363,6 @@ public class ProjectManager {
}
}
public File compilePackage(VolmitSender sender, IrisDimension d, boolean obfuscate, boolean minify) {
return new IrisProject(new File(getWorkspaceFolder(), d.getLoadKey())).compilePackage(sender, obfuscate, minify);
}
public File compilePackage(VolmitSender sender, String d, boolean obfuscate, boolean minify) {
return new IrisProject(new File(getWorkspaceFolder(), d)).compilePackage(sender, obfuscate, minify);
}

View File

@ -477,7 +477,7 @@ public class DecIrisStudio implements DecreeExecutor, DecreeStudioExtension {
@Param(name = "minify", aliases = "m", description = "Whether or not to minify the pack", defaultValue = "true")
boolean minify
){
Iris.proj.compilePackage(sender(), dimension, obfuscate, minify);
Iris.proj.compilePackage(sender(), dimension.getLoadKey(), obfuscate, minify);
}
@Decree(description = "Profiles a dimension's performance", origin = DecreeOrigin.PLAYER)