mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-28 22:05:01 +01:00
Take abs of speed
This commit is contained in:
parent
a1f0285f73
commit
2f1ae67cba
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue