Fix missed patch causing Dispensed Armor to go into the wrong slot. Closes #1560

This commit is contained in:
Lex Manos 2014-12-10 05:36:15 -08:00
parent 66018bd168
commit 7c79a4226f

View file

@ -1,5 +1,14 @@
--- ../src-base/minecraft/net/minecraft/item/ItemArmor.java
+++ ../src-work/minecraft/net/minecraft/item/ItemArmor.java
@@ -38,7 +38,7 @@
if (list.size() > 0)
{
EntityLivingBase entitylivingbase = (EntityLivingBase)list.get(0);
- int l = entitylivingbase instanceof EntityPlayer ? 1 : 0;
+ int l = 0;// Forge: We fix the indexes. Mojang Stop hard coding this!
int i1 = EntityLiving.func_82159_b(p_82487_2_);
ItemStack itemstack1 = p_82487_2_.func_77946_l();
itemstack1.field_77994_a = 1;
@@ -192,7 +192,7 @@
if (itemstack1 == null)