forked from Qortal/qortal
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:
parent
8bb5077e76
commit
756601c1ce
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user