Made all item fields final
This commit is contained in:
parent
537ccc092c
commit
24b4c4b8d1
42 changed files with 445 additions and 462 deletions
|
@ -63,7 +63,7 @@ public class AlchemyTablePotionAugmentRecipe extends AlchemyTablePotionRecipe
|
|||
{
|
||||
if (inputStack == null)
|
||||
{
|
||||
ItemStack outputStack = new ItemStack(ModItems.potionFlask);
|
||||
ItemStack outputStack = new ItemStack(ModItems.POTION_FLASK);
|
||||
|
||||
List<PotionEffect> effectList = new ArrayList<PotionEffect>();
|
||||
int potionLength = wantedPotion.isInstant() ? 1 : BMPotionUtils.getAugmentedLength(baseEffect.getDuration(), lengthAugment, powerAugment - baseEffect.getAmplifier());
|
||||
|
@ -103,7 +103,7 @@ public class AlchemyTablePotionAugmentRecipe extends AlchemyTablePotionRecipe
|
|||
|
||||
public static ItemStack getAugmentedPotionFlask(PotionEffect baseEffect)
|
||||
{
|
||||
ItemStack outputStack = new ItemStack(ModItems.potionFlask);
|
||||
ItemStack outputStack = new ItemStack(ModItems.POTION_FLASK);
|
||||
|
||||
List<PotionEffect> effectList = new ArrayList<PotionEffect>();
|
||||
effectList.add(baseEffect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue