Commit 1f517d18 authored by nanahira's avatar nanahira

fix

parent 6c80a85e
...@@ -46,10 +46,14 @@ namespace YGOSharp ...@@ -46,10 +46,14 @@ namespace YGOSharp
} }
} }
if(!test) { if(!test) {
if (Banlists == null) {
Banlists = new_list;
} else {
foreach (var item in new_list) { foreach (var item in new_list) {
Banlists.Add(item); 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