Added default body to the deprecated getDiscount method to fix some errors being thrown

This commit is contained in:
Flaxbeard committed 2016-10-04 22:31:14 -05:00
1 parent 5157c646f7
commit ab4b7b9e76
1 file changed
+3 -1
@@ -23,7 +23,9 @@ import net.minecraft.item.ItemStack;
public interface IManaDiscountArmor {
@Deprecated
public float getDiscount(ItemStack stack, int slot, EntityPlayer player);
default float getDiscount(ItemStack stack, int slot, EntityPlayer player) {
return 0;
}
/**
* Gets the mana discount that this piece of armor provides for the specified