From 417fff89b8020d2ff36827ba67a051fb4ecf4db4 Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 8 May 2013 15:27:18 -0700 Subject: [PATCH] Changed to just plane entity for flexability. --- patches/minecraft/net/minecraft/item/Item.java.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/minecraft/net/minecraft/item/Item.java.patch b/patches/minecraft/net/minecraft/item/Item.java.patch index 936a809dc5..2fb47c2378 100644 --- a/patches/minecraft/net/minecraft/item/Item.java.patch +++ b/patches/minecraft/net/minecraft/item/Item.java.patch @@ -357,10 +357,10 @@ + * + * @param stack The ItemStack + * @param armorType Armor slot ID: 0: Helmet, 1: Chest, 2: Legs, 3: Boots -+ * @param players The player trying to equip the armor ++ * @param entity The entity trying to equip the armor + * @return True if the given ItemStack can be inserted in the slot + */ -+ public boolean isValidArmor(ItemStack stack, int armorType, EntityPlayer player) ++ public boolean isValidArmor(ItemStack stack, int armorType, Entity entity) + { + return isValidArmor(stack, armorType); + }