mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Added default body to the deprecated getDiscount method to fix some errors being thrown
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user