mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Fix flugel tiara gliding, fixes #3092
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user