diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandcondense.java b/Essentials/src/com/earth2me/essentials/commands/Commandcondense.java index f5c4905fe..7285b9315 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandcondense.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandcondense.java @@ -135,6 +135,10 @@ public class Commandcondense extends EssentialsCommand { if (recipe instanceof ShapedRecipe) { ShapedRecipe sRecipe = (ShapedRecipe) recipe; + if (sRecipe.getShape().length != sRecipe.getShape()[0].length()) { + // Only accept square recipes + return null; + } inputList = sRecipe.getIngredientMap().values(); } else if (recipe instanceof ShapelessRecipe) { ShapelessRecipe slRecipe = (ShapelessRecipe) recipe;