Replace call to simple getter from within class with inlined version
This commit is contained in:
@@ -209,7 +209,7 @@ public class Ingredient implements IIngredient
|
||||
}
|
||||
|
||||
if ( set.length == 0 )
|
||||
throw new MissingIngredientError( this.getItemName() + " - ore dictionary could not be resolved to any items." );
|
||||
throw new MissingIngredientError( this.itemName + " - ore dictionary could not be resolved to any items." );
|
||||
|
||||
return set;
|
||||
}
|
||||
|
||||
@@ -303,7 +303,7 @@ public class ShapedRecipe implements IRecipe, IRecipeBakeable
|
||||
try
|
||||
{
|
||||
this.disable = false;
|
||||
for (Object o : this.getInput())
|
||||
for (Object o : this.input )
|
||||
{
|
||||
if ( o instanceof IIngredient )
|
||||
((IIngredient) o).bake();
|
||||
|
||||
@@ -163,7 +163,7 @@ public class ShapelessRecipe implements IRecipe, IRecipeBakeable
|
||||
try
|
||||
{
|
||||
this.disable = false;
|
||||
for (Object o : this.getInput())
|
||||
for (Object o : this.input )
|
||||
{
|
||||
if ( o instanceof IIngredient )
|
||||
((IIngredient) o).bake();
|
||||
|
||||
Reference in New Issue
Block a user