mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Goto for Find & add to studio
My brain still defaults to /iris studio goto so this'll help :)
This commit is contained in:
parent
2ca6235b5d
commit
77024cd651
@ -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.decree.specialhandlers.ObjectHandler;
|
||||||
import com.volmit.iris.util.format.C;
|
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 {
|
public class CommandFind implements DecreeExecutor {
|
||||||
@Decree(description = "Find a biome")
|
@Decree(description = "Find a biome")
|
||||||
public void biome(
|
public void biome(
|
||||||
|
@ -101,6 +101,7 @@ public class CommandStudio implements DecreeExecutor {
|
|||||||
public static String hrf(Duration duration) {
|
public static String hrf(Duration duration) {
|
||||||
return duration.toString().substring(2).replaceAll("(\\d[HMS])(?!$)", "$1 ").toLowerCase();
|
return duration.toString().substring(2).replaceAll("(\\d[HMS])(?!$)", "$1 ").toLowerCase();
|
||||||
}
|
}
|
||||||
|
private CommandFind find;
|
||||||
|
|
||||||
@Decree(description = "Download a project.", aliases = "dl")
|
@Decree(description = "Download a project.", aliases = "dl")
|
||||||
public void download(
|
public void download(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user