mirror of
https://github.com/squeek502/Squake.git
synced 2025-08-03 17:58:08 -04:00
Merge branch '1.7.x' of https://github.com/squeek502/Squake into 1.8
This commit is contained in:
commit
2a3e00e48d
@ -102,7 +102,7 @@ public class QuakeClientPlayer extends ClientPlayerBase
|
|||||||
@Override
|
@Override
|
||||||
public void moveFlying(float sidemove, float forwardmove, float wishspeed)
|
public void moveFlying(float sidemove, float forwardmove, float wishspeed)
|
||||||
{
|
{
|
||||||
if ((this.player.capabilities.isFlying && this.player.ridingEntity == null) || this.player.isInWater())
|
if ((this.player.capabilities.isFlying && this.player.ridingEntity == null) || this.player.isInWater() || this.player.isInLava())
|
||||||
{
|
{
|
||||||
super.moveFlying(sidemove, forwardmove, wishspeed);
|
super.moveFlying(sidemove, forwardmove, wishspeed);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user