Bugfix for AE Inscriber
- Fixed addRecipe for AE Inscriber always throws error about missing parameters
This commit is contained in:
parent
ffe8821976
commit
acf41557a8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue