Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,11 @@ public RecipeMap<?> getRecipeMap() {
/** Determine which drones and items are in the correct buses */
protected ItemStack[] validInputs() {
ArrayList<ItemStack> validatedInputs = new ArrayList<>();
// Accept item from controller if it's a drone
ItemStack controllerSlot = this.getControllerSlot();
if (controllerSlot != null && controllerSlot.getItem() instanceof ItemMiningDrones) {
validatedInputs.add(controllerSlot);
}
Map<GTUtility.ItemId, ItemStack> inputsFromME = new HashMap<>();
for (MTEHatchInputBus inputBus : validMTEList(mInputBusses)) {
IGregTechTileEntity tileEntity = inputBus.getBaseMetaTileEntity();
Expand Down
Loading