mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 23:47:38 +01:00
Fix BeltInventory.eject different behavior in orientations
This commit is contained in:
parent
466739bcf5
commit
6cc6973bc8
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ public class BeltInventory {
|
|||
float movementSpeed = Math.max(Math.abs(belt.getBeltMovementSpeed()), 1 / 8f);
|
||||
Vec3d outMotion = new Vec3d(belt.getBeltChainDirection()).scale(movementSpeed)
|
||||
.add(0, 1 / 8f, 0);
|
||||
outPos.add(outMotion.normalize());
|
||||
outPos = outPos.add(outMotion.normalize().scale(0.001));
|
||||
ItemEntity entity = new ItemEntity(belt.getWorld(), outPos.x, outPos.y + 6 / 16f, outPos.z, ejected);
|
||||
entity.setMotion(outMotion);
|
||||
entity.setDefaultPickupDelay();
|
||||
|
|
Loading…
Reference in a new issue