public ServerSimple() { one = 1; clients = new ClientSimple[256]; clientsCount = 0; blockTypes = new Packet_BlockType[GlobalVar.MAX_BLOCKTYPES]; blockTypesCount = 0; mods = new ModSimple[128]; ModManagerSimple1 m = new ModManagerSimple1(); m.Start(this); mods[modsCount++] = new ModSimpleDefault(); mods[modsCount++] = new ModSimpleWorldGenerator(); for (int i = 0; i < modsCount; i++) { mods[i].Start(m); } MapSizeX = 8192; MapSizeY = 8192; MapSizeZ = 128; chunks = new ChunkSimple[(MapSizeX / ChunkSize) * (MapSizeY / ChunkSize)][]; chunkdrawdistance = 4; actions = new QueueAction(); mainThreadActions = new QueueAction(); spawnGlX = MapSizeX / 2; spawnGlY = MapSizeZ; for (int i = 0; i < modsCount; i++) { int spawnHeight = mods[i].GetHeight(); if (spawnHeight != -1) { spawnGlY = spawnHeight; } } spawnGlZ = MapSizeY / 2; }