Fix flugel tiara gliding, fixes #3092

This commit is contained in:
Hubry committed 2020-01-01 15:37:24 +01:00
1 parent 36342f17da
commit a3eb3f01ee
1 file changed
+1 -3
@@ -276,9 +276,7 @@ public class ItemFlightTiara extends ItemBauble implements IManaUsingItem {
if(doGlide) {
float mul = 0.6F;
player.setMotion(player.getMotion().getX() * mul,
Math.max(-0.15F, player.getMotion().getY()),
player.getMotion().getZ() * mul);
player.setMotion(look.x * mul, Math.max(-0.15F, player.getMotion().getY()), look.z * mul);
player.fallDistance = 2F;
}
}