Added FlySpeed Cap to WitherAssault game
This commit is contained in:
parent
d10dc3d7be
commit
35b9e01aff
@ -634,7 +634,7 @@ public class WitherGame extends TeamGame implements IBlockRestorer
|
||||
speed = 0.09 - (_yLimit - player.getLocation().getY()) * 0.006;
|
||||
}
|
||||
|
||||
player.setFlySpeed((float) speed);
|
||||
player.setFlySpeed((float) Math.min(1, speed));
|
||||
|
||||
// Bump
|
||||
for (Block block : UtilBlock.getInRadius(
|
||||
|
Loading…
Reference in New Issue
Block a user