Run MCC at true 20 TPS

This commit is contained in:
Anon 2026-03-23 14:29:04 +01:00
parent 5f7e302213
commit 484133f07a
30 changed files with 1091 additions and 147 deletions

View file

@ -41,8 +41,8 @@ namespace MinecraftClient.ChatBots
public override void Update()
{
// Poll every ~500ms (Update is called every ~100ms)
if (++_tickCounter < 5)
// Poll every ~500ms while the MCC main loop runs at 20 TPS.
if (++_tickCounter < Settings.DoubleToTick(0.5))
return;
_tickCounter = 0;