Take abs of speed

This commit is contained in:
Shroopy 2024-11-27 15:18:54 -08:00
parent a1f0285f73
commit 2f1ae67cba

View file

@ -240,7 +240,7 @@ public class PressingBehaviour extends BeltProcessingBehaviour {
float speed = specifics.getKineticSpeed(); float speed = specifics.getKineticSpeed();
if (speed == 0) if (speed == 0)
return 0; return 0;
return 30 * speed / 256; return 30 * Mth.abs(speed) / 256;
} }
protected void spawnParticles() { protected void spawnParticles() {