Skip to content

Commit eac8ad2

Browse files
committed
FIX error reading SDK
1 parent d4f15e4 commit eac8ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adventure-composer/src/main/java/org/bladecoder/engineeditor/ui/CreateProjectDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public CreateProjectDialog(Skin skin) {
5656

5757
String sdkprop = Ctx.project.getConfig().getProperty(ANDROID_SDK_PROP);
5858

59-
if(new File(sdkprop).exists()) {
59+
if(sdkprop != null && new File(sdkprop).exists()) {
6060
androidSdk.setText(sdkprop);
6161
}
6262

0 commit comments

Comments
 (0)