public static Mod GetMod(int netID) => netID >= 0 && netID < netMods.Length ? netMods[netID] : null;
internal static void ReadNetWorldOrder(BinaryReader r) { short n = r.ReadInt16(); NetWorlds = new ModWorld[n]; for (short i = 0; i < n; i++) { NetWorlds[i] = ModNet.GetMod(r.ReadInt16()).GetModWorld(r.ReadString()); } }