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

View File

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