Initialize to an empty list.

This fixes various bugs caused by the list being null when no blacklist JSON file was available.
This commit is contained in:
CalDescent 2021-08-08 08:41:13 +01:00
parent 8bb5077e76
commit 756601c1ce

View File

@ -36,6 +36,7 @@ public class ResourceList {
public ResourceList(String category, String resourceName) throws IOException {
this.category = category;
this.resourceName = resourceName;
this.list = new ArrayList<>();
this.load();
}