From 32d8869b8aeeb8bec22a729af0a2974e3ec41616 Mon Sep 17 00:00:00 2001 From: grimmauld Date: Sun, 29 Nov 2020 23:21:38 +0100 Subject: [PATCH] D --- .../components/structureMovement/train/CouplingPhysics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/CouplingPhysics.java b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/CouplingPhysics.java index 519a694b6..00c932783 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/CouplingPhysics.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/CouplingPhysics.java @@ -114,7 +114,7 @@ public class CouplingPhysics { float futureStress = (float) (couplingLength - nextPositions.getFirst() .distanceTo(nextPositions.getSecond())); - if (MathHelper.epsilonEquals(futureStress, 0)) + if (MathHelper.epsilonEquals(futureStress, 0D)) return; for (boolean current : Iterate.trueAndFalse) {