mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
debug
This commit is contained in:
parent
50ee2727a2
commit
2099342352
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user