Skip to content

Commit

Permalink
stop non-steam multis from using steam input bus
Browse files Browse the repository at this point in the history
  • Loading branch information
purebluez committed Dec 13, 2024
1 parent 470e42e commit 9b2203b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.MTEHatchSteamBusInput;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
Expand Down Expand Up @@ -1822,6 +1823,7 @@ public boolean addInputBusToMachineList(IGregTechTileEntity aTileEntity, int aBa
hatch.updateCraftingIcon(this.getMachineCraftingIcon());
return mDualInputHatches.add(hatch);
}
if (aMetaTileEntity instanceof MTEHatchSteamBusInput) return false;
if (aMetaTileEntity instanceof ISmartInputHatch hatch) {
mSmartInputHatches.add(hatch);
}
Expand Down

0 comments on commit 9b2203b

Please sign in to comment.