Skip to content

Commit 9942939

Browse files
authored
Crashproof Bludgeon (#9803)
fixes #9046
1 parent ed62d0b commit 9942939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/simibubi/create/content/kinetics/RotationPropagator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ private static void propagateNewSource(KineticBlockEntity currentTE) {
286286
}
287287
}
288288

289-
if (neighbourTE.getTheoreticalSpeed() == newSpeed)
289+
if (Math.abs(neighbourTE.getTheoreticalSpeed() - newSpeed) <= 1e-5f)
290290
continue;
291291

292292
float prevSpeed = neighbourTE.getSpeed();

0 commit comments

Comments
 (0)