mirror of
https://github.com/squeek502/Squake.git
synced 2025-09-15 15:04:40 -04:00
Fix lava movement being totally broken (closes #13)
This commit is contained in:
parent
ed909d3bd0
commit
d993dc1ed2
@ -99,7 +99,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