pig slayers now kill phyg's

This commit is contained in:
Kino 2017-07-14 21:29:37 -04:00
parent 356831b8b5
commit 9146932a48

View file

@ -42,7 +42,7 @@ public class ItemPigSlayer extends ItemSword
String s = EntityList.getEntityString((Entity)entityliving);
if(s != null && s.toLowerCase().contains("pig"))
if(s != null && (s.toLowerCase().contains("pig") || s.toLowerCase().contains("phyg")))
{
if(entityliving.getHealth() > 0)
{