Skip to content

Commit

Permalink
Merge pull request #60 from asdflj/levelmaintainer
Browse files Browse the repository at this point in the history
fix level maintainer bug
  • Loading branch information
Dream-Master authored Jan 16, 2023
2 parents 101f4de + f07d996 commit b1dff2e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ private TickRateModulation doWork() {
if (this.requests.isDone(i)) this.requests.setState(i, State.Idling);
if (cg.canEmitFor(craftItem)
|| cg.isRequesting(craftItem)
|| (inv.findPrecise(is) != null
&& inv.findPrecise(is).getStackSize() >= is.getStackSize())
|| inv.findPrecise(is) == null
|| !inv.findPrecise(is).isCraftable()
|| inv.findPrecise(is).getStackSize() >= is.getStackSize()
|| !this.requests.isDone(i)) continue;
// do crafting
Future<ICraftingJob> jobTask = requests.getJobs()[i];
Expand Down

0 comments on commit b1dff2e

Please sign in to comment.