Fix 1.19.3 key exchange in offline mode

This commit is contained in:
BruceChen 2023-01-17 20:16:35 +08:00
parent 92a911ce99
commit 1f54a7c247
5 changed files with 12 additions and 6 deletions

View file

@ -100,7 +100,7 @@ namespace MinecraftClient.ChatBots
private Double attackSpeed = 4;
private Double attackCooldownSeconds;
private readonly bool overrideAttackSpeed = false;
private readonly int attackRange = 4;
private readonly double attackRange = 4.0;
private Double serverTPS;
private float health = 100;
private readonly bool attackHostile = true;