mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-22 21:09:43 +00:00
Merge remote-tracking branch 'origin/p2pinterface-share-configandstorage-inventory' into p2pinterface-share-configandstorage-inventory
This commit is contained in:
commit
aaada9be25
1 file changed
+2
-3
@@ -112,10 +112,9 @@ public class PartFluidExportBus extends FCSharedFluidBus implements ICraftingReq
|
|||||||
this.didSomething = false;
|
this.didSomething = false;
|
||||||
this.fluidToSend = this.calculateAmountToSend();
|
this.fluidToSend = this.calculateAmountToSend();
|
||||||
final TileEntity te = this.getConnectedTE();
|
final TileEntity te = this.getConnectedTE();
|
||||||
|
InventoryAdaptor destination;
|
||||||
if (te instanceof IFluidHandler) {
|
if (te instanceof IFluidHandler && (destination = this.getHandler(te)) != null) {
|
||||||
try {
|
try {
|
||||||
final InventoryAdaptor destination = this.getHandler(te);
|
|
||||||
final ICraftingGrid cg = this.getProxy().getCrafting();
|
final ICraftingGrid cg = this.getProxy().getCrafting();
|
||||||
final IFluidHandler fh = (IFluidHandler) te;
|
final IFluidHandler fh = (IFluidHandler) te;
|
||||||
final IMEMonitor<IAEFluidStack> inv = this.getProxy().getStorage().getFluidInventory();
|
final IMEMonitor<IAEFluidStack> inv = this.getProxy().getStorage().getFluidInventory();
|
||||||
|
|||||||
Reference in new issue
Block a user