Compiles for 1.9! Very buggy, some things are missing.

This commit is contained in:
mezz committed 2016-05-05 01:11:21 -07:00
1 parent 5d74c1254b
commit 7bf554b024
135 files changed
+1710 -1919

No files matched your search

@@ -38,18 +38,12 @@ public class ArmorApiaristHelper implements IArmorApiaristHelper {
public int wearsItems(EntityLivingBase entity, String cause, boolean doProtect) {
int count = 0;
for (int i = 1; i <= 4; i++) {
ItemStack armorItem = entity.getEquipmentInSlot(i);
for (ItemStack armorItem : entity.getEquipmentAndArmor()) {
if (isArmorApiarist(armorItem, entity, cause, doProtect)) {
count++;
}
}
ItemStack heldItem = entity.getHeldItem();
if (isArmorApiarist(heldItem, entity, cause, doProtect)) {
count++;
}
return count;
}
}