diff --git a/MinecraftClient/ChatBots/AutoAttack.cs b/MinecraftClient/ChatBots/AutoAttack.cs index 6ec12a0d..3da846db 100644 --- a/MinecraftClient/ChatBots/AutoAttack.cs +++ b/MinecraftClient/ChatBots/AutoAttack.cs @@ -112,7 +112,7 @@ namespace MinecraftClient.ChatBots /// If the entity should be attacked public bool handleEntity(Entity entity) { - if (!entity.Type.IsHostile()) + if (!entity.Type.IsHostile() || entity.Health <= 0) return false; bool isBeingAttacked = entitiesToAttack.ContainsKey(entity.ID);