Skip to content

Commit 681adcd

Browse files
committed
Fix the extra slot item in input buses not dropping
1 parent 59e3eec commit 681adcd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/gregtech/common/metatileentities/multi/multiblockpart/appeng/MetaTileEntityMEInputBus.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,14 @@ protected void syncME() {
161161
}
162162
}
163163

164+
@Override
165+
public void clearMachineInventory(@NotNull List<@NotNull ItemStack> itemBuffer) {
166+
ItemStack extraSlotStack = extraSlotInventory.getStackInSlot(0);
167+
if (!extraSlotStack.isEmpty()) {
168+
itemBuffer.add(extraSlotStack);
169+
}
170+
}
171+
164172
@Override
165173
public void onRemoval() {
166174
flushInventory();

0 commit comments

Comments
 (0)