Commit 1f517d18 authored by nanahira's avatar nanahira

fix

parent 6c80a85e
...@@ -46,8 +46,12 @@ namespace YGOSharp ...@@ -46,8 +46,12 @@ namespace YGOSharp
} }
} }
if(!test) { if(!test) {
foreach (var item in new_list) { if (Banlists == null) {
Banlists.Add(item); Banlists = new_list;
} else {
foreach (var item in new_list) {
Banlists.Add(item);
}
} }
} }
return (success && new_list.Count > 1); return (success && new_list.Count > 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment