@@ -89,14 +89,14 @@ public static Pair<Long, AEItemKey> findAEStackFromFilter(MEStorage monitor, @Nu
8989 }
9090
9191 if (crafting == null )
92- return Pair .of (0L , AEItemKey . of ( ItemStack . EMPTY ) );
92+ return Pair .of (0L , null );
9393
9494 for (var temp : crafting .getCraftables (param -> true )) {
9595 if (temp instanceof AEItemKey key && filter .test (key .toStack ()))
9696 return Pair .of (0L , key );
9797 }
9898
99- return Pair .of (0L , AEItemKey . of ( ItemStack . EMPTY ) );
99+ return Pair .of (0L , null );
100100 }
101101
102102 @ NotNull
@@ -112,14 +112,14 @@ public static Pair<Long, AEFluidKey> findAEFluidFromFilter(MEStorage monitor, @N
112112 }
113113
114114 if (crafting == null )
115- return Pair .of (0L , AEFluidKey . of ( FluidStack . EMPTY ) );
115+ return Pair .of (0L , null );
116116
117117 for (var temp : crafting .getCraftables (param -> true )) {
118118 if (temp instanceof AEFluidKey key && filter .test (key .toStack (1 )))
119119 return Pair .of (0L , key );
120120 }
121121
122- return Pair .of (0L , AEFluidKey . of ( FluidStack . EMPTY ) );
122+ return Pair .of (0L , null );
123123 }
124124
125125 @ NotNull
@@ -135,14 +135,14 @@ public static Pair<Long, MekanismKey> findAEChemicalFromFilter(MEStorage monitor
135135 }
136136
137137 if (crafting == null )
138- return Pair .of (0L , MekanismKey . of ( ChemicalStack . EMPTY ) );
138+ return Pair .of (0L , null );
139139
140140 for (var temp : crafting .getCraftables (param -> true )) {
141141 if (temp instanceof MekanismKey key && filter .test (key .getStack ()))
142142 return Pair .of (0L , key );
143143 }
144144
145- return Pair .of (0L , MekanismKey . of ( ChemicalStack . EMPTY ) );
145+ return Pair .of (0L , null );
146146 }
147147
148148 /**
0 commit comments