SurvivalFly - 1.13 Swimming (Sea_Pickle swimup)
Allows for a higher y distance change when the player is touching the ground. This will fix the issue of swimming onto sea_pickles which act like slabs. ToDo: Investigate what makes sea pickles flag but not slabs if they both have the same block flags?
This commit is contained in:
parent
5e04474b4e
commit
1dcf830535
|
@ -1869,7 +1869,11 @@ public class SurvivalFly extends Check {
|
|||
data.sfNoLowJump = true;
|
||||
|
||||
// Expected envelopes.
|
||||
final double baseSpeed = Magic.swimBaseSpeedV(); // TODO: Lava?
|
||||
final double baseSpeed;
|
||||
if (player.isOnGround()) {
|
||||
baseSpeed = Magic.swimBaseSpeedV() + 0.1;
|
||||
} else {
|
||||
baseSpeed = Magic.swimBaseSpeedV(); } // TODO: Lava?
|
||||
final double yDistAbs = Math.abs(yDistance);
|
||||
|
||||
// TODO: Later also cover things like a sudden stop.
|
||||
|
|
Loading…
Reference in New Issue