mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
One - remove dupe function
This commit is contained in:
parent
4f13227d9e
commit
9d98641a94
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user