mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 01:55:19 -04:00
Fix jumping when standing next to water, fixex #92.
This commit is contained in:
parent
f6089db641
commit
bab9b11b49
@ -295,7 +295,8 @@ namespace ClassicalSharp {
|
||||
if( block == 0 ) continue;
|
||||
|
||||
modifier = Math.Min( modifier, info.SpeedMultiplier[block] );
|
||||
if( info.CollideType[block] == BlockCollideType.SwimThrough )
|
||||
if( block >= BlockInfo.CpeBlocksCount &&
|
||||
info.CollideType[block] == BlockCollideType.SwimThrough )
|
||||
useLiquidGravity = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user