mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Update translations
This commit is contained in:
parent
bdcc22b465
commit
e44192ab7b
12 changed files with 160 additions and 132 deletions
|
|
@ -23,14 +23,14 @@ namespace MinecraftClient.ChatBots
|
|||
public string File = "playerlog.txt";
|
||||
|
||||
[TomlInlineComment("$config.ChatBot.PlayerListLogger.Delay$")]
|
||||
public int Delay = 600;
|
||||
public double Delay = 60;
|
||||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
File ??= string.Empty;
|
||||
|
||||
if (Delay < 10)
|
||||
Delay = 10;
|
||||
if (Delay < 1.0)
|
||||
Delay = 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ namespace MinecraftClient.ChatBots
|
|||
public override void Update()
|
||||
{
|
||||
count++;
|
||||
if (count == Config.Delay)
|
||||
if (count == (int)(Config.Delay * 10))
|
||||
{
|
||||
DateTime now = DateTime.Now;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue