Changed to just plane entity for flexability.

This commit is contained in:
LexManos 2013-05-08 15:27:18 -07:00
parent 810b03bd83
commit 417fff89b8
1 changed files with 2 additions and 2 deletions

View File

@ -357,10 +357,10 @@
+ * + *
+ * @param stack The ItemStack + * @param stack The ItemStack
+ * @param armorType Armor slot ID: 0: Helmet, 1: Chest, 2: Legs, 3: Boots + * @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 + * @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); + return isValidArmor(stack, armorType);
+ } + }