Moved living armor notifications to action bar
This commit is contained in:
parent
38e54a4e2f
commit
6656fe58dc
5 changed files with 9 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue