From d3252c400c0bc0c436dabb762b7cb08558ea9978 Mon Sep 17 00:00:00 2001 From: reobf <2215595288@qq.com> Date: Sat, 16 Nov 2024 15:05:35 +0800 Subject: [PATCH] update --- .../proghatches/gt/metatileentity/BufferedDualInputHatch.java | 2 +- .../proghatches/main/mixin/mixins/part2/MixinMultiPattern.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/reobf/proghatches/gt/metatileentity/BufferedDualInputHatch.java b/src/main/java/reobf/proghatches/gt/metatileentity/BufferedDualInputHatch.java index 8c377c0..73b7421 100644 --- a/src/main/java/reobf/proghatches/gt/metatileentity/BufferedDualInputHatch.java +++ b/src/main/java/reobf/proghatches/gt/metatileentity/BufferedDualInputHatch.java @@ -424,7 +424,7 @@ public boolean clearRecipeIfNeeded() { if(!recipeLocked){return true;} if(Config.delayUnlock){ - if(unlockDelay==0){unlockDelay=20;preventSleep=Math.max(preventSleep,25);return false;} + if(unlockDelay==0){unlockDelay=10;preventSleep=Math.max(preventSleep,25);return false;} if(unlockDelay>0){ unlockDelay--; if(unlockDelay!=0)return false; diff --git a/src/main/java/reobf/proghatches/main/mixin/mixins/part2/MixinMultiPattern.java b/src/main/java/reobf/proghatches/main/mixin/mixins/part2/MixinMultiPattern.java index 684e2a2..e5563d3 100644 --- a/src/main/java/reobf/proghatches/main/mixin/mixins/part2/MixinMultiPattern.java +++ b/src/main/java/reobf/proghatches/main/mixin/mixins/part2/MixinMultiPattern.java @@ -208,7 +208,7 @@ public void b(IEnergyGrid eg, CraftingGridCache cc, CallbackInfo ci) { if(medium.isBusy()){break;} if (detail.isCraftable()) { - continue;// that's impossible to be done in same tick + break stop;// that's impossible to be done in same tick } InventoryCrafting ic = detail.isCraftable() ? new InventoryCrafting(new ContainerNull(), 3, 3) : new InventoryCrafting(new ContainerNull(), detail.getInputs().length, 1);