Commit 44accd9d authored by Sailoriae's avatar Sailoriae
Browse files

Fix block list of blocks loading

parent ab9c8fab
......@@ -292,7 +292,7 @@ public class SCSConfiguration extends Configuration {
public Collection<String> getBlockListBlocks () {
// somewhere along the way the list got wiped,
// so empty lists are going to be refilled
List<String> list = getForced(KEY_BLOCKLIST_BLOCKS, Collections.emptyList());
List<String> list = getForced(KEY_BLOCKLIST_BLOCKS, new ArrayList<>()); // not Collections.emptyList(), because getForced() will return an empty list
if (list != null && !list.isEmpty()) {
return list;
}
......
Supports Markdown
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