mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
remove unnecessary null fail
This commit is contained in:
1 parent
bb600eed3f
commit
0845c25190
2 files changed
-11
No files matched your search
@@ -63,11 +63,6 @@ public class FluidPatternDetails implements ICraftingPatternDetails, Comparable<
|
||||
}
|
||||
|
||||
public boolean setInputs(IAEItemStack[] inputs) {
|
||||
for (IAEItemStack stack : inputs) { // see note at top of class
|
||||
if (stack == null) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
IAEItemStack[] condensed = condenseStacks(inputs);
|
||||
if (condensed.length == 0) {
|
||||
return false;
|
||||
@@ -88,11 +83,6 @@ public class FluidPatternDetails implements ICraftingPatternDetails, Comparable<
|
||||
}
|
||||
|
||||
public boolean setOutputs(IAEItemStack[] outputs) {
|
||||
for (IAEItemStack stack : outputs) { // see note at top of class
|
||||
if (stack == null) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
IAEItemStack[] condensed = condenseStacks(outputs);
|
||||
if (condensed.length == 0) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user