public static void LoadBanned() { if (File.Exists(path) == false) { blacklist = new BlackList(); blacklist.List = new List <BadPlayer>(); return; } blacklist = Json.Load <BlackList>(path); }
public static void LoadBanned() { if (File.Exists(path) == false) { blacklist = new BlackList(); blacklist.List = new List<BadPlayer>(); return; } blacklist = Json.Load<BlackList>(path); }