static void CopyBlockProps(string src, string dst) { string path = Path.Combine(oldServer, Paths.BlockPropsPath("_" + src)); if (!File.Exists(path)) { return; } File.Copy(path, Paths.BlockPropsPath("_" + dst), true); }
public static void Load(string group, BlockProps[] list, byte scope, bool mapOld) { lock (list) { if (!Directory.Exists("blockprops")) { return; } string path = Paths.BlockPropsPath(group); if (File.Exists(path)) { LoadCore(path, list, scope, mapOld); } } }