Final push before 2.2.12.
This commit is contained in:
parent
778838e2b0
commit
6a56a13aac
3 changed files with 8 additions and 1 deletions
|
@ -287,6 +287,11 @@ public class ItemFlightScroll extends ItemSoulBreathContainer implements IMeshPr
|
|||
|
||||
vec.normalize();
|
||||
|
||||
if (speed <= 0.00001)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
livingEntity.setVelocity(vec.x * speed, vec.y * speed, vec.z * speed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue