One - remove dupe function

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

No files matched your search

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