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
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue