mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:11:35 +01:00
Crushing More Bugs
-Increase the size of the window in which the crusher picks up items to avoid it skipping over items at some of the highest speeds.
This commit is contained in:
parent
f1c8e92686
commit
53a6ad00d5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class BeltCrusherInteractionHandler {
|
|||
|
||||
float crusherEntry = segment + .5f;
|
||||
crusherEntry += .399f * (beltMovementPositive ? -1 : 1);
|
||||
float postCrusherEntry = crusherEntry + .199f * (!beltMovementPositive ? -1 : 1);
|
||||
float postCrusherEntry = crusherEntry + .799f * (!beltMovementPositive ? -1 : 1);
|
||||
|
||||
boolean hasCrossed = nextOffset > crusherEntry && nextOffset < postCrusherEntry && beltMovementPositive
|
||||
|| nextOffset < crusherEntry && nextOffset > postCrusherEntry && !beltMovementPositive;
|
||||
|
|
Loading…
Reference in a new issue