From a50f02eedaa5484576b6498ba4c90be9317154a5 Mon Sep 17 00:00:00 2001 From: Thiakil Date: Mon, 2 Sep 2024 10:55:09 +0800 Subject: [PATCH] dont clobber the pos --- .../network/transmitter/LogisticalTransporterBase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/mekanism/common/content/network/transmitter/LogisticalTransporterBase.java b/src/main/java/mekanism/common/content/network/transmitter/LogisticalTransporterBase.java index 39e4e3f90cc..7ada33c131f 100644 --- a/src/main/java/mekanism/common/content/network/transmitter/LogisticalTransporterBase.java +++ b/src/main/java/mekanism/common/content/network/transmitter/LogisticalTransporterBase.java @@ -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; }