Improved various typos

This commit is contained in:
thatsIch
2014-11-04 12:32:33 +01:00
parent fe7510d607
commit 542c1dcdbd
15 changed files with 56 additions and 57 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ public class RecipeData
public boolean crash = true;
public boolean exceptions = true;
public boolean erroronmissing = true;
public boolean errorOnMissing = true;
public final Set<String> knownItem = new HashSet<String>();
@@ -110,7 +110,7 @@ public class RecipeHandler implements IRecipeHandler
}
catch (MissingIngredientError e)
{
if ( data.erroronmissing )
if ( data.errorOnMissing )
{
AELog.warning( "Unable to register a recipe:" + e.getMessage() );
if ( data.exceptions )
@@ -532,7 +532,7 @@ public class RecipeHandler implements IRecipeHandler
{
if ( tokens.size() == 1 && (tokens.get( 0 ).equals( "true" ) || tokens.get( 0 ).equals( "false" )) )
{
data.erroronmissing = tokens.get( 0 ).equals( "true" );
data.errorOnMissing = tokens.get( 0 ).equals( "true" );
}
else
throw new RecipeError( "erroronmissing must be true or false explicitly." );