Merge pull request #2513 from Owain94/pluginlistnullcheck

pluginlist: Add null check
This commit is contained in:
Kyle
2020-04-29 00:20:33 +01:00
committed by GitHub

View File

@@ -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 ->
{