Skip to content

Commit

Permalink
Added Lotus#isDebuggerEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqzn committed Sep 19, 2024
1 parent 9aaa635 commit bac1169
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/io/github/mqzen/menus/Lotus.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ public void enableDebugger() {
this.debugger = new LotusDebugger(plugin.getLogger());
}

public boolean isDebuggerEnabled() {
return !debugger.isEmpty();
}

public void disableDebugger() {
this.debugger = LotusDebugger.EMPTY;
}
Expand Down

0 comments on commit bac1169

Please sign in to comment.