mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user