mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Fixes
This commit is contained in:
1 parent
42ff5c7c5a
commit
8715b09750
10 files changed
+23
-20
No files matched your search
@@ -4,18 +4,18 @@ namespace EHR;
|
||||
|
||||
public static class DebugModeManager
|
||||
{
|
||||
public static OptionItem EnableDebugMode;
|
||||
public static bool AmDebugger { get; private set; } =
|
||||
#if DEBUG
|
||||
true;
|
||||
#else
|
||||
false;
|
||||
false;
|
||||
#endif
|
||||
public static bool IsDebugMode => AmDebugger && EnableDebugMode != null && EnableDebugMode.GetBool();
|
||||
public static OptionItem EnableDebugMode;
|
||||
|
||||
public static void Auth(HashAuth auth, string input)
|
||||
{
|
||||
AmDebugger = AmDebugger || auth.CheckString(input);
|
||||
AmDebugger |= auth.CheckString(input);
|
||||
}
|
||||
|
||||
public static void SetupCustomOption()
|
||||
|
||||
Reference in new issue
Block a user