diff --git a/src/main/java/com/volmit/iris/core/decrees/DecIris.java b/src/main/java/com/volmit/iris/core/decrees/DecIris.java index 86991645c..0d22adb31 100644 --- a/src/main/java/com/volmit/iris/core/decrees/DecIris.java +++ b/src/main/java/com/volmit/iris/core/decrees/DecIris.java @@ -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); + } + }