Skip to content

Commit

Permalink
Allow insertions into multi controller slot (#52)
Browse files Browse the repository at this point in the history
(cherry picked from commit a44016a)
  • Loading branch information
RecursivePineapple committed Feb 20, 2025
1 parent af4ba56 commit 49da9e3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.interfaces.tileentity.IHasInventory;
import gregtech.api.metatileentity.implementations.MTEMultiBlockBase;
import gregtech.common.tileentities.machines.MTEHatchOutputBusME;
import gregtech.common.tileentities.machines.MTEHatchOutputME;

import com.google.common.collect.ImmutableList;
import com.recursive_pineapple.matter_manipulator.MMMod;
Expand All @@ -38,6 +41,7 @@ private boolean canHandleImpl(IInventory inv) {
if (imte instanceof MTEHatchOutputBusME) return true;
if (imte instanceof MTEHatchOutputME) return true;
if (imte instanceof MTEHatchRack) return true;
if (imte instanceof MTEMultiBlockBase) return true;
}

return false;
Expand Down

0 comments on commit 49da9e3

Please sign in to comment.