Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf committed Nov 16, 2024
1 parent 20a6366 commit d3252c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d3252c4

Please sign in to comment.