mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
Missing examples.properties no longer causes crash
This commit is contained in:
@@ -17,8 +17,10 @@ public class ExamplesContribution extends LocalContribution {
|
||||
|
||||
private ExamplesContribution(File folder) {
|
||||
super(folder);
|
||||
compatibleModesList = parseCompatibleModesList(properties
|
||||
.get("compatibleModesList"));
|
||||
if (properties != null) {
|
||||
compatibleModesList = parseCompatibleModesList(properties
|
||||
.get("compatibleModesList"));
|
||||
}
|
||||
}
|
||||
|
||||
private static ArrayList<String> parseCompatibleModesList(String unparsedModes) {
|
||||
|
||||
Reference in New Issue
Block a user