From ba8b0d94756dc06f998f0d970439b457bced0d21 Mon Sep 17 00:00:00 2001 From: reobf <2215595288@qq.com> Date: Mon, 9 Sep 2024 16:37:34 +0800 Subject: [PATCH] update --- build.gradle | 2 +- .../gt/metatileentity/DualInputHatch.java | 2 +- .../MixinEUSourceCoverChunkUnloadNotification.java | 12 ++++++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 69d8fcd..f32ed6a 100644 --- a/build.gradle +++ b/build.gradle @@ -373,7 +373,7 @@ catch (Exception ignored) { // Pulls version first from the VERSION env and then git tag String identifiedVersion = null -String versionOverride = '0.0.18p20' +String versionOverride = '0.0.18p21' try { // Produce a version based on the tag, or for branches something like 0.2.2-configurable-maven-and-extras.38+43090270b6-dirty if (versionOverride == null) { diff --git a/src/main/java/reobf/proghatches/gt/metatileentity/DualInputHatch.java b/src/main/java/reobf/proghatches/gt/metatileentity/DualInputHatch.java index 5076c53..ee20ee1 100644 --- a/src/main/java/reobf/proghatches/gt/metatileentity/DualInputHatch.java +++ b/src/main/java/reobf/proghatches/gt/metatileentity/DualInputHatch.java @@ -2037,7 +2037,7 @@ public FluidStack[] getFluid(){ public ArrayList circuitInv=new ArrayList<>(); public void clearCircuit() { - mInventory[0]=null; + mInventory[getCircuitSlot()]=null; circuitInv.clear(); for(int i=0;i be = coverInfo.getCoverBehavior(); + Object be = coverInfo.getCoverBehavior(); + + if (be != null && be instanceof AECover) { ((AECover) be).chunkUnload((Data) coverInfo.getCoverData());