some fixes

This commit is contained in:
Progwml6 committed 2014-01-15 02:17:20 -05:00
1 parent dc968ae355
commit dfcc6e9d89
17 files changed
+32 -26

No files matched your search

@@ -36,7 +36,7 @@ public abstract class ArmorCore extends ItemArmor implements IEnergyContainerIte
this.setUnlocalizedName(SET_NAME);
this.armorPart = part;
this.baseProtection = baseProtection;
BlockDispenser.dispenseBehaviorRegistry.putObject(this, dispenserBehavior);
BlockDispenser.field_149943_a.putObject(this, dispenserBehavior);
}
public String getArmorName ()
@@ -92,7 +92,7 @@ public abstract class ArmorCore extends ItemArmor implements IEnergyContainerIte
tags = new NBTTagCompound();
stack.setTagCompound(tags);
data = new NBTTagCompound();
tags.setCompoundTag(SET_NAME, data);
tags.setTag(SET_NAME, data);
data.setInteger("damageReduction", baseProtection);
data.setInteger("maxAbsorb", baseProtection);
}
@@ -604,7 +604,7 @@ public class AbilityHelper
float f6 = random.nextFloat() * f3 + (1.0F - f3) * 0.5F;
entityitem = new EntityItem(world, f + f4, f1 + f5, f2 + f6, itemstack);
}
entityitem.delayBeforeCanPickup = 10;
entityitem.field_145804_b = 10;
world.spawnEntityInWorld(entityitem);
return entityitem;
}