From 2f1ae67cbae452dd4f5540b9db5b804d55f57fb4 Mon Sep 17 00:00:00 2001 From: Shroopy <46693163+Shroopy@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:18:54 -0800 Subject: [PATCH] Take abs of speed --- .../create/content/kinetics/press/PressingBehaviour.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/kinetics/press/PressingBehaviour.java b/src/main/java/com/simibubi/create/content/kinetics/press/PressingBehaviour.java index d245a9cac..30a6d8862 100644 --- a/src/main/java/com/simibubi/create/content/kinetics/press/PressingBehaviour.java +++ b/src/main/java/com/simibubi/create/content/kinetics/press/PressingBehaviour.java @@ -240,7 +240,7 @@ public class PressingBehaviour extends BeltProcessingBehaviour { float speed = specifics.getKineticSpeed(); if (speed == 0) return 0; - return 30 * speed / 256; + return 30 * Mth.abs(speed) / 256; } protected void spawnParticles() {