Moved living armor notifications to action bar

This commit is contained in:
Nicholas Ignoffo 2017-05-27 16:04:40 -07:00
parent 38e54a4e2f
commit 6656fe58dc
5 changed files with 9 additions and 5 deletions

View file

@ -158,7 +158,7 @@ public class ItemLivingArmour extends ItemArmor implements ISpecialArmor, IMeshP
ItemStack leggings = player.getItemStackFromSlot(EntityEquipmentSlot.LEGS);
ItemStack boots = player.getItemStackFromSlot(EntityEquipmentSlot.FEET);
if (helmet == null || leggings == null || boots == null)
if (helmet.isEmpty() || leggings.isEmpty() || boots.isEmpty())
{
damageAmount *= (armourReduction);