Initial stab at 1.11

About halfway.
This commit is contained in:
Nicholas Ignoffo 2016-12-12 19:56:36 -08:00
parent ce52aea512
commit 00d6f8eb46
157 changed files with 1036 additions and 1554 deletions

View file

@ -197,7 +197,7 @@ public class LivingArmour implements ILivingArmour
continue;
}
if ((world.isRemote && upgrade.runOnClient()) || !world.isRemote)
if (!world.isRemote || upgrade.runOnClient())
{
upgrade.onTick(world, player, this);
}
@ -385,7 +385,7 @@ public class LivingArmour implements ILivingArmour
continue;
}
ItemStack slotStack = player.getItemStackFromSlot(slot);
if (slotStack == null || !(slotStack.getItem() instanceof ItemLivingArmour))
if (slotStack.isEmpty() || !(slotStack.getItem() instanceof ItemLivingArmour))
return false;
}