mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-12 16:27:27 +00:00
Bugfix for AE Inscriber
- Fixed addRecipe for AE Inscriber always throws error about missing parameters
This commit is contained in:
1 parent
ffe8821976
commit
acf41557a8
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user