mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
Fixed glider behavior when in water.
This commit is contained in:
1 parent
91ee43032a
commit
d3257c3e12
1 file changed
+1
-1
@@ -96,7 +96,7 @@ public class DarkSteelController {
|
||||
return;
|
||||
}
|
||||
|
||||
if(!player.onGround && player.motionY < 0 && !player.isSneaking()) {
|
||||
if(!player.onGround && player.motionY < 0 && !player.isSneaking() && !player.isInWater()) {
|
||||
|
||||
double horizontalSpeed = Config.darkSteelGliderHorizontalSpeed;
|
||||
double verticalSpeed = Config.darkSteelGliderVerticalSpeed;
|
||||
|
||||
Reference in new issue
Block a user