Merge pull request #2513 from Owain94/pluginlistnullcheck
pluginlist: Add null check
This commit is contained in:
@@ -174,7 +174,7 @@ public class PluginListPanel extends PluginPanel
|
||||
sortPluginList(null);
|
||||
}
|
||||
|
||||
if (colorOptions.stream().anyMatch(option -> option.equals(ev.getKey())))
|
||||
if (pluginList != null && colorOptions.stream().anyMatch(option -> option.equals(ev.getKey())))
|
||||
{
|
||||
pluginList.forEach(listItem ->
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user