Skip to content

Commit

Permalink
dont clobber the pos
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Sep 2, 2024
1 parent a484cdf commit a50f02e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,9 @@ private boolean recalculate(int stackId, TransporterStack stack, long from) {

//Only add to needsSync if true is being returned; otherwise it gets added to deletes
needsSync.put(stackId, stack);
stack.originalLocation = from;
if (from != Long.MAX_VALUE) {
stack.originalLocation = from;
}
return true;
}

Expand Down

0 comments on commit a50f02e

Please sign in to comment.