diff --git a/build.properties b/build.properties index 54c5d4ad..59b96520 100644 --- a/build.properties +++ b/build.properties @@ -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 diff --git a/src/main/java/extracells/inventory/HandlerPartStorageFluid.java b/src/main/java/extracells/inventory/HandlerPartStorageFluid.java index e01436dd..2e113833 100644 --- a/src/main/java/extracells/inventory/HandlerPartStorageFluid.java +++ b/src/main/java/extracells/inventory/HandlerPartStorageFluid.java @@ -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 fluidInventory = monitor.getFluidInventory(); if(fluidInventory == null) - return null; + return input; return fluidInventory.injectItems(input, mode, src); } if (tank == null || input == null || !canAccept(input)) @@ -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); }