File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/gregtech/common/covers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public void update() {
9797 TileEntity tileEntity = coverHolder .getWorld ().getTileEntity (coverHolder .getPos ().offset (attachedSide ));
9898 IItemHandler itemHandler = tileEntity == null ? null : tileEntity .getCapability (CapabilityItemHandler .ITEM_HANDLER_CAPABILITY , attachedSide .getOpposite ());
9999 IItemHandler myItemHandler = coverHolder .getCapability (CapabilityItemHandler .ITEM_HANDLER_CAPABILITY , attachedSide );
100- if (itemHandler == null || myItemHandler == null ) {
100+ if (itemHandler == null ) {
101101 if (conveyorMode == ConveyorMode .IMPORT ) setSituation (NO_IMPORT_INVENTORY );
102102 if (conveyorMode == ConveyorMode .EXPORT ) setSituation (NO_EXPORT_INVENTORY );
103103 } else {
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ protected int doTransferFluids(int transferLimit) {
123123 blockPos .release ();
124124 IFluidHandler fluidHandler = tileEntity == null ? null : tileEntity .getCapability (CapabilityFluidHandler .FLUID_HANDLER_CAPABILITY , attachedSide .getOpposite ());
125125 IFluidHandler myFluidHandler = coverHolder .getCapability (CapabilityFluidHandler .FLUID_HANDLER_CAPABILITY , attachedSide );
126- if (fluidHandler == null || myFluidHandler == null ) {
126+ if (fluidHandler == null ) {
127127 if (pumpMode == PumpMode .IMPORT ) setSituation (NO_IMPORT_TANK );
128128 if (pumpMode == PumpMode .EXPORT ) setSituation (NO_EXPORT_TANK );
129129 return 0 ;
You can’t perform that action at this time.
0 commit comments