Skip to content

Commit

Permalink
Fix 1 tick research completer recipes not draining vis (#3806)
Browse files Browse the repository at this point in the history
Co-authored-by: Brady <[email protected]>
Co-authored-by: Maya <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent cb48e82 commit 3abcd04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {

@Override
public boolean onRunningTick(ItemStack aStack) {
float progressAmount = ((float) this.mProgresstime) / this.mMaxProgresstime;
float progressAmount = ((float) this.mProgresstime + 1) / this.mMaxProgresstime;
int requiredVis = (int) Math.ceil(progressAmount * recipeAspectCost - aspectsAbsorbed);
syncTimer--;

Expand Down

0 comments on commit 3abcd04

Please sign in to comment.