We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e222a8b commit 30494a1Copy full SHA for 30494a1
BotCommands.cs
@@ -15,7 +15,7 @@ public class BotCommands : BaseUnityPlugin
15
private string botcmd_path;
16
17
[System.Diagnostics.CodeAnalysis.SuppressMessage("Code Quality", "IDE0051:Remove unused private members")]
18
- private void Awake()
+ public void Awake()
19
{
20
Cmdpath = Config.Bind<string>(
21
"Config",
@@ -36,7 +36,7 @@ private void Update()
36
//start at the end of the file
37
long lastMaxOffset = reader.BaseStream.Length;
38
39
- System.Threading.Thread.Sleep(4);
+ System.Threading.Thread.Sleep(20);
40
41
//seek to the last max offset
42
reader.BaseStream.Seek(lastMaxOffset, SeekOrigin.Begin);
0 commit comments