diff --git a/src/main/java/cr0s/warpdrive/data/AcceleratorSetup.java b/src/main/java/cr0s/warpdrive/data/AcceleratorSetup.java index 3e4c1a26..928626a2 100644 --- a/src/main/java/cr0s/warpdrive/data/AcceleratorSetup.java +++ b/src/main/java/cr0s/warpdrive/data/AcceleratorSetup.java @@ -378,6 +378,8 @@ public class AcceleratorSetup extends GlobalPosition { public boolean isMajorChange(final AcceleratorSetup acceleratorSetup) { return acceleratorSetup == null + || trajectoryAccelerator == null + || acceleratorSetup.trajectoryAccelerator == null || trajectoryAccelerator.size() != acceleratorSetup.trajectoryAccelerator.size() || trajectoryTransfer.size() != acceleratorSetup.trajectoryTransfer.size() || countMagnets[0] != acceleratorSetup.countMagnets[0]