diff --git a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumStorageController.java b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumStorageController.java index 38f0b3d0aeb..0ba06966078 100644 --- a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumStorageController.java +++ b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumStorageController.java @@ -181,10 +181,10 @@ public void rebuildNetwork() { if (storage.getType() != IQuantumStorage.Type.EXTENDER) { storageInstances.put(pos, new WeakReference<>(storage)); storagePositions.add(pos); + oldInstances.remove(pos); + oldPositions.remove(pos); } storage.setConnected(this); - oldInstances.remove(pos); - oldPositions.remove(pos); // check against already check posses so we don't recheck a checked pos for (EnumFacing facing : EnumFacing.VALUES) {