public MinecraftServer(Socket socket) { this.Socket = socket; this.ServerAddress = (IPEndPoint)this.Socket.RemoteEndPoint; this.ServerName = this.ServerMOTD = this.Password = this.Hash = ""; this.MapSeed = this.Time = 0L; Entities = new EntityCollection(); Chunks = new ChunkProvider(); MapManager = new MapManager(Chunks); }
public MapManager(ChunkProvider chunks) { this.Chunks = chunks; }