Merge remote-tracking branch 'origin/p2pinterface-share-configandstorage-inventory' into p2pinterface-share-configandstorage-inventory

This commit is contained in:
lordIcocain committed 2025-06-28 22:03:54 +03:00
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();