From 3a9263ca74f1e68f62b9bdf901de63a60b979fcf Mon Sep 17 00:00:00 2001 From: thatsIch Date: Sun, 21 Sep 2014 01:45:39 +0200 Subject: [PATCH] Typo findPrefered --- integration/modules/NEIHelpers/NEIAEShapedRecipeHandler.java | 2 +- integration/modules/NEIHelpers/NEIAEShapelessRecipeHandler.java | 2 +- util/Platform.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/modules/NEIHelpers/NEIAEShapedRecipeHandler.java b/integration/modules/NEIHelpers/NEIAEShapedRecipeHandler.java index 02b1d138..00296175 100644 --- a/integration/modules/NEIHelpers/NEIAEShapedRecipeHandler.java +++ b/integration/modules/NEIHelpers/NEIAEShapedRecipeHandler.java @@ -185,7 +185,7 @@ public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler try { 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 ); this.ingredients.add( stack ); } diff --git a/integration/modules/NEIHelpers/NEIAEShapelessRecipeHandler.java b/integration/modules/NEIHelpers/NEIAEShapelessRecipeHandler.java index ff9468fc..2d4f3537 100644 --- a/integration/modules/NEIHelpers/NEIAEShapelessRecipeHandler.java +++ b/integration/modules/NEIHelpers/NEIAEShapelessRecipeHandler.java @@ -185,7 +185,7 @@ public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler try { 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 ); stack.setMaxSize( 1 ); this.ingredients.add( stack ); diff --git a/util/Platform.java b/util/Platform.java index 56cd1859..552146b8 100644 --- a/util/Platform.java +++ b/util/Platform.java @@ -1744,7 +1744,7 @@ public class Platform return false; } - public static Object findPrefered(ItemStack[] is) + public static Object findPreferred(ItemStack[] is) { for (ItemStack stack : is) {