Fix falling into 2 block water not resetting fall damage. (Thanks goodlyay)

This commit is contained in:
UnknownShadow200 2017-09-09 17:56:48 +10:00
parent 9d17ce77a9
commit f5f76db999

View File

@ -340,8 +340,8 @@ namespace MCGalaxy {
int index = level.PosToInt(P.X, P.Y, P.Z);
if (level.Config.SurvivalDeath) {
PlayerPhysics.Fall(this, bb);
PlayerPhysics.Drown(this, bb);
PlayerPhysics.Fall(this, bb);
}
lastFallY = bb.Min.Y;