Goto for Find & add to studio

My brain still defaults to /iris studio goto so this'll help :)
This commit is contained in:
CocoTheOwner 2021-11-01 12:07:33 +01:00
parent 2ca6235b5d
commit 77024cd651
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@ import com.volmit.iris.util.decree.annotations.Param;
import com.volmit.iris.util.decree.specialhandlers.ObjectHandler;
import com.volmit.iris.util.format.C;
@Decree(name = "find", origin = DecreeOrigin.PLAYER, description = "Iris Find commands")
@Decree(name = "find", origin = DecreeOrigin.PLAYER, description = "Iris Find commands", aliases = "goto")
public class CommandFind implements DecreeExecutor {
@Decree(description = "Find a biome")
public void biome(

View File

@ -101,6 +101,7 @@ public class CommandStudio implements DecreeExecutor {
public static String hrf(Duration duration) {
return duration.toString().substring(2).replaceAll("(\\d[HMS])(?!$)", "$1 ").toLowerCase();
}
private CommandFind find;
@Decree(description = "Download a project.", aliases = "dl")
public void download(