Noppe's Custom NPCs shouldn't drop yellow hearts anymore

This commit is contained in:
Bernhard Bonigl committed 2014-10-12 12:26:39 +02:00
1 parent 79cefddf75
commit 1feac32104
1 file changed
+1 -1
@@ -40,7 +40,7 @@ public class TinkerArmorEvents
return;
}
String entityName = event.entityLiving.getClass().getSimpleName().toLowerCase();
if (entityName.contains("entitynpc"))
if (entityName.contains("entitynpc") || entityName.contains("entitycustomnpc"))
return;
int count = event.entityLiving instanceof EntityDragon ? 5 : 1;