Fixed manasteel helmet not implementing new version of getDiscount

This commit is contained in:
Flaxbeard committed 2016-10-04 23:11:18 -05:00
1 parent ab4b7b9e76
commit fc5d794b79
1 file changed
+3 -1
@@ -10,6 +10,8 @@
*/
package vazkii.botania.common.item.equipment.armor.manasteel;
import javax.annotation.Nullable;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.ItemStack;
@@ -27,7 +29,7 @@ public class ItemManasteelHelm extends ItemManasteelArmor implements IManaDiscou
}
@Override
public float getDiscount(ItemStack stack, int slot, EntityPlayer player) {
public float getDiscount(ItemStack stack, int slot, EntityPlayer player, @Nullable ItemStack tool) {
return hasArmorSet(player) ? 0.1F : 0F;
}