void CheckBlocks(Position pos) { try { Vec3U16 P = (Vec3U16)pos.BlockCoords; AABB bb = ModelBB.OffsetPosition(Pos); int index = level.PosToInt(P.X, P.Y, P.Z); if (level.Config.SurvivalDeath) { PlayerPhysics.Drown(this, bb); PlayerPhysics.Fall(this, bb); } lastFallY = bb.Min.Y; PlayerPhysics.Walkthrough(this, bb); oldIndex = index; } catch (Exception ex) { Logger.LogError(ex); } }