mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Run MCC at true 20 TPS
This commit is contained in:
parent
5f7e302213
commit
484133f07a
30 changed files with 1091 additions and 147 deletions
|
|
@ -19,7 +19,7 @@ namespace MinecraftClient.ChatBots
|
|||
private string? file;
|
||||
private string[] lines = Array.Empty<string>();
|
||||
private string[] args = Array.Empty<string>();
|
||||
private int sleepticks = 10;
|
||||
private int sleepticks = Settings.ClientTicksPerSecond;
|
||||
private int nextline = 0;
|
||||
private readonly string? owner;
|
||||
private bool csharp;
|
||||
|
|
@ -202,7 +202,7 @@ namespace MinecraftClient.ChatBots
|
|||
switch (instruction_name.ToLower())
|
||||
{
|
||||
case "wait":
|
||||
int ticks = 10;
|
||||
int ticks = Settings.ClientTicksPerSecond;
|
||||
try
|
||||
{
|
||||
if (instruction_line[5..].Contains("to", StringComparison.OrdinalIgnoreCase) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue