Skip to content

Commit

Permalink
EC 2.2.52
Browse files Browse the repository at this point in the history
- Bug fixes
  • Loading branch information
DrummerMC committed Feb 3, 2015
1 parent 14d69ac commit 15cabd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version.minecraft=1.7.10
version.forge=10.13.2.1286
version.mod.major=2
version.mod.minor=2
version.mod.revis=51
version.mod.revis=52
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ public IAEFluidStack injectItems(IAEFluidStack input, Actionable mode, BaseActio
if(externalSystem != null && input != null){
IStorageMonitorable monitor = externalSystem.getMonitorable(node.getSide().getOpposite(), src);
if(monitor == null)
return null;
return input;
IMEMonitor<IAEFluidStack> fluidInventory = monitor.getFluidInventory();
if(fluidInventory == null)
return null;
return input;
return fluidInventory.injectItems(input, mode, src);
}
if (tank == null || input == null || !canAccept(input))
Expand All @@ -122,7 +122,7 @@ public IAEFluidStack injectItems(IAEFluidStack input, Actionable mode, BaseActio
filled = filled + filled2;
} while (filled2 != 0 && filled != toFill.amount);
if (filled == toFill.amount)
return null;
return input;
return FluidUtil.createAEFluidStack(toFill.fluidID, toFill.amount - filled);
}

Expand Down

0 comments on commit 15cabd1

Please sign in to comment.