@@ -131,8 +131,7 @@ private IEnergyGrid getEnergyGrid() {
131131 @ Nullable
132132 private IMEMonitor <IAEFluidStack > getFluidGrid () {
133133 try {
134- return getProxy ().getGrid ().<IStorageGrid >getCache (IStorageGrid .class )
135- .getInventory (Util .getFluidChannel ());
134+ return getProxy ().getGrid ().<IStorageGrid >getCache (IStorageGrid .class ).getInventory (Util .getFluidChannel ());
136135 } catch (GridAccessException e ) {
137136 return null ;
138137 }
@@ -221,16 +220,15 @@ public void postChange(IBaseMonitor<IAEFluidStack> monitor, Iterable<IAEFluidSta
221220 boolean isNg = false ;
222221 if (fluidStack .getStackSize () < 0 ) {
223222 isNg = true ;
224- fluidStack .setStackSize ( - fluidStack .getStackSize () );
223+ fluidStack .setStackSize (- fluidStack .getStackSize ());
225224 }
226225 IAEItemStack itemStack = FakeFluids .packFluid2AEDrops (fluidStack );
227226 if (itemStack != null ) {
228- if (isNg ) itemStack .setStackSize ( - itemStack .getStackSize () );
227+ if (isNg ) itemStack .setStackSize (- itemStack .getStackSize ());
229228 mappedChanges .add (itemStack );
230229 }
231230 }
232- getProxy ().getGrid ().<IStorageGrid >getCache (IStorageGrid .class )
233- .postAlterationOfStoredItems (getChannel (), mappedChanges , ownActionSource );
231+ getProxy ().getGrid ().<IStorageGrid >getCache (IStorageGrid .class ).postAlterationOfStoredItems (getChannel (), mappedChanges , ownActionSource );
234232 } catch (GridAccessException e ) {
235233 // NO-OP
236234 }
@@ -271,8 +269,7 @@ public IAEStack injectItems(IAEStack aeStack, Actionable type, IActionSource src
271269 return null ;
272270 }
273271 if (craftingGrid instanceof CraftingGridCache ) {
274- IAEItemStack remaining = ((CraftingGridCache )craftingGrid ).injectItems (
275- FakeFluids .packFluid2AEDrops (input ), type , ownActionSource );
272+ IAEItemStack remaining = ((CraftingGridCache )craftingGrid ).injectItems (FakeFluids .packFluid2AEDrops (input ), type , ownActionSource );
276273 if (remaining != null ) {
277274 return FakeItemRegister .getAEStack (remaining );
278275 }
0 commit comments