From 95361b7e2342b0ec01324b69802a7f5f6ac113c4 Mon Sep 17 00:00:00 2001 From: trinsdar <30245301+Trinsdar@users.noreply.github.com> Date: Tue, 12 Sep 2023 22:09:50 -0400 Subject: [PATCH] made item and type filters no longer take power to auto output --- .../gregtech/tile/single/TileEntityItemFilter.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/common/src/main/java/muramasa/gregtech/tile/single/TileEntityItemFilter.java b/common/src/main/java/muramasa/gregtech/tile/single/TileEntityItemFilter.java index 1686f09d9..8c9261665 100644 --- a/common/src/main/java/muramasa/gregtech/tile/single/TileEntityItemFilter.java +++ b/common/src/main/java/muramasa/gregtech/tile/single/TileEntityItemFilter.java @@ -104,12 +104,7 @@ public void onGuiEvent(IGuiEvent event, Player playerEntity) { public void serverTick(Level level, BlockPos pos, BlockState state) { super.serverTick(level, pos, state); if (getCover(this.getFacing().getOpposite()).isEmpty()){ - if (this.energyHandler.map(e -> e.getEnergy() > 0).orElse(false)){ - if(processItemOutput()){ - this.energyHandler.ifPresent(e -> e.extractEu(1, false)); - } - } - + this.processItemOutput(); } } @Override