diff --git a/MinecraftClient/ChatBots/FollowPlayer.cs b/MinecraftClient/ChatBots/FollowPlayer.cs index 0561bf0f..3220dfac 100644 --- a/MinecraftClient/ChatBots/FollowPlayer.cs +++ b/MinecraftClient/ChatBots/FollowPlayer.cs @@ -151,12 +151,6 @@ namespace MinecraftClient.ChatBots public override void OnEntityMove(Entity entity) { - - if (_updateCounter < Settings.DoubleToTick(Config.Update_Limit)) - return; - - _updateCounter = 0; - if (entity.Type != EntityType.Player) return; @@ -166,6 +160,11 @@ namespace MinecraftClient.ChatBots if (_playerToFollow != entity.Name.ToLower()) return; + if (_updateCounter < Settings.DoubleToTick(Config.Update_Limit)) + return; + + _updateCounter = 0; + if (!CanMoveThere(entity.Location)) return;