File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
src/main/java/com/glodblock/github Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -142,12 +142,7 @@ public IAEFluidStack getAEStack(@Nullable IAEItemStack stack) {
142142 if (stack == null ) {
143143 return null ;
144144 }
145- IAEFluidStack fluidStack = AEFluidStack .fromFluidStack (getStack (stack .createItemStack ()));
146- if (fluidStack == null ) {
147- return null ;
148- }
149- fluidStack .setStackSize (stack .getStackSize ());
150- return fluidStack ;
145+ return AEFluidStack .fromFluidStack (getStack (stack .createItemStack ()));
151146 }
152147
153148 @ Override
Original file line number Diff line number Diff line change @@ -140,9 +140,7 @@ public IAEGasStack getAEStack(@Nullable IAEItemStack stack) {
140140 if (gas == null || gas .getGas () == null ) {
141141 return null ;
142142 }
143- IAEGasStack gasStack = new AEGasStack (gas );
144- gasStack .setStackSize (stack .getStackSize ());
145- return gasStack ;
143+ return new AEGasStack (gas );
146144 }
147145
148146 @ Override
You can’t perform that action at this time.
0 commit comments