Typo findPrefered

This commit is contained in:
thatsIch 2014-09-21 01:45:39 +02:00
parent 26238cb1b5
commit 3a9263ca74
3 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
try try
{ {
ItemStack[] is = ing.getItemStackSet(); ItemStack[] is = ing.getItemStackSet();
PositionedStack stack = new PositionedStack( useSingleItems ? Platform.findPrefered( is ) : is, 25 + x * 18, 6 + y * 18, false ); PositionedStack stack = new PositionedStack( useSingleItems ? Platform.findPreferred( is ) : is, 25 + x * 18, 6 + y * 18, false );
stack.setMaxSize( 1 ); stack.setMaxSize( 1 );
this.ingredients.add( stack ); this.ingredients.add( stack );
} }

View file

@ -185,7 +185,7 @@ public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
try try
{ {
ItemStack[] is = ing.getItemStackSet(); ItemStack[] is = ing.getItemStackSet();
PositionedStack stack = new PositionedStack( useSingleItems ? Platform.findPrefered( is ) : ing.getItemStackSet(), 25 + x * 18, PositionedStack stack = new PositionedStack( useSingleItems ? Platform.findPreferred( is ) : ing.getItemStackSet(), 25 + x * 18,
6 + y * 18, false ); 6 + y * 18, false );
stack.setMaxSize( 1 ); stack.setMaxSize( 1 );
this.ingredients.add( stack ); this.ingredients.add( stack );

View file

@ -1744,7 +1744,7 @@ public class Platform
return false; return false;
} }
public static Object findPrefered(ItemStack[] is) public static Object findPreferred(ItemStack[] is)
{ {
for (ItemStack stack : is) for (ItemStack stack : is)
{ {