From 83e617213732c99ea525b870261006fc87aac875 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 9 Sep 2017 18:14:52 +1000 Subject: [PATCH] Fix rope not resetting fall height --- MCGalaxy/Player/PlayerPhysics.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MCGalaxy/Player/PlayerPhysics.cs b/MCGalaxy/Player/PlayerPhysics.cs index 56b7556a3..a920fc160 100644 --- a/MCGalaxy/Player/PlayerPhysics.cs +++ b/MCGalaxy/Player/PlayerPhysics.cs @@ -105,6 +105,9 @@ namespace MCGalaxy.Blocks.Physics { } } else { bool isGas = p.level.CollideType(bHead) == CollideType.WalkThrough; + // NOTE: Rope is a special case, it should always reset fall height + if (bHead.BlockID == Block.Rope) isGas = false; + if (!isGas) p.startFallY = -1; p.drownTime = DateTime.MaxValue; }