mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 14:50:57 +00:00
debug
This commit is contained in:
@@ -76,5 +76,13 @@ public class DecIris implements DecreeExecutor
|
|||||||
sender().sendMessage(C.GREEN + "" + val1 + " " + operator + " " + val2 + " => " + v);
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user