internal Player(Client p) { Username = p.MinecraftUsername; Uptime = p.Uptime; if (p.Session.Position != null) { Position = p.Session.Position; } Dimension = (int)p.Session.Dimension; Session = p.Session.GetType().Name; AttachedTo = p.Session.AttachedEntity; if (p.ChatEntry != null) { Chat = new ChatEntry(); Chat.Channel = p.ChatEntry.Channel; Chat.Message = p.ChatEntry.Message; Chat.Timestamp = p.ChatEntry.TimeStamp; } }