diff --git a/src/main/java/vazkii/neat/HealthBarRenderer.java b/src/main/java/vazkii/neat/HealthBarRenderer.java index a618553..56cff1c 100644 --- a/src/main/java/vazkii/neat/HealthBarRenderer.java +++ b/src/main/java/vazkii/neat/HealthBarRenderer.java @@ -94,6 +94,17 @@ public void renderHealthBar(EntityLivingBase passedEntity, float partialTicks, E String entityID = EntityList.getEntityString(entity); if(NeatConfig.blacklist.contains(entityID)) continue; + + boolean foundMatch = false; + for(String entry : NeatConfig.blacklist) { + if (foundMatch) + break; + if (entityID.matches(entry)) { + foundMatch = true; + } + } + if (foundMatch) + continue; processing: { float distance = passedEntity.getDistanceToEntity(viewPoint);