Skip to content

Commit 15cabd1

Browse files
committed
EC 2.2.52
- Bug fixes
1 parent 14d69ac commit 15cabd1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ version.minecraft=1.7.10
44
version.forge=10.13.2.1286
55
version.mod.major=2
66
version.mod.minor=2
7-
version.mod.revis=51
7+
version.mod.revis=52

src/main/java/extracells/inventory/HandlerPartStorageFluid.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ public IAEFluidStack injectItems(IAEFluidStack input, Actionable mode, BaseActio
106106
if(externalSystem != null && input != null){
107107
IStorageMonitorable monitor = externalSystem.getMonitorable(node.getSide().getOpposite(), src);
108108
if(monitor == null)
109-
return null;
109+
return input;
110110
IMEMonitor<IAEFluidStack> fluidInventory = monitor.getFluidInventory();
111111
if(fluidInventory == null)
112-
return null;
112+
return input;
113113
return fluidInventory.injectItems(input, mode, src);
114114
}
115115
if (tank == null || input == null || !canAccept(input))
@@ -122,7 +122,7 @@ public IAEFluidStack injectItems(IAEFluidStack input, Actionable mode, BaseActio
122122
filled = filled + filled2;
123123
} while (filled2 != 0 && filled != toFill.amount);
124124
if (filled == toFill.amount)
125-
return null;
125+
return input;
126126
return FluidUtil.createAEFluidStack(toFill.fluidID, toFill.amount - filled);
127127
}
128128

0 commit comments

Comments
 (0)