This commit is contained in:
CocoTheOwner 2021-08-16 18:30:53 +02:00
parent 50ee2727a2
commit 2099342352

View File

@ -38,11 +38,11 @@ public class DecIris implements DecreeExecutor
@Decree(description = "Set aura spins")
public void aura(
@Param(name = "h", description = "The h color value")
int h,
int h,
@Param(name = "s", description = "The s color value")
int s,
int s,
@Param(name = "b", description = "The b color value")
int b
int b
){
IrisSettings.get().getGeneral().setSpinh(h);
IrisSettings.get().getGeneral().setSpins(s);
@ -76,5 +76,13 @@ public class DecIris implements DecreeExecutor
sender().sendMessage(C.GREEN + "" + val1 + " " + operator + " " + val2 + " => " + v);
}
@Decree(description = "Toggle debug")
public void debug(
@Param(name = "on", description = "Whether or not debug should be on", defaultValue = "true")
boolean on
){
IrisSettings.get().getGeneral().setDebug(on);
}
}