From acf41557a8259f5e8ff3e9cb61d17532f36db1f5 Mon Sep 17 00:00:00 2001 From: Zixxl Date: Wed, 22 Jul 2015 09:51:11 +0200 Subject: [PATCH] Bugfix for AE Inscriber - Fixed addRecipe for AE Inscriber always throws error about missing parameters --- src/main/java/modtweaker2/mods/appeng/handlers/Inscriber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/modtweaker2/mods/appeng/handlers/Inscriber.java b/src/main/java/modtweaker2/mods/appeng/handlers/Inscriber.java index 694aee8..9fd7256 100644 --- a/src/main/java/modtweaker2/mods/appeng/handlers/Inscriber.java +++ b/src/main/java/modtweaker2/mods/appeng/handlers/Inscriber.java @@ -31,7 +31,7 @@ public class Inscriber { @ZenMethod public static void addRecipe(IItemStack[] imprintable, IItemStack plateA, IItemStack plateB, IItemStack out, String type) { - if(imprintable == null || out == null || (!type.equals("Press") || !type.equals("Inscribe"))) { + if(imprintable == null || out == null || (!type.equals("Press") && !type.equals("Inscribe"))) { LogHelper.logError(String.format("Required parameters missing for %s Recipe.", Inscriber.name)); return; }