Make the debugger command depend on debug build
This commit is contained in:
1 parent
9feb70d262
commit
486ece07d2
1 file changed
+4
@@ -22,12 +22,16 @@ public class SeStringDebugger : Window
|
||||
MaximumSize = new Vector2(float.MaxValue, float.MaxValue)
|
||||
};
|
||||
|
||||
#if DEBUG
|
||||
Plugin.Commands.Register("/chat2Debugger").Execute += Toggle;
|
||||
#endif
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
#if DEBUG
|
||||
Plugin.Commands.Register("/chat2Debugger").Execute -= Toggle;
|
||||
#endif
|
||||
}
|
||||
|
||||
private void Toggle(string _, string __) => Toggle();
|
||||
|
||||
Reference in new issue
Block a user