catch null pointer exception that can be thrown on mac, app shouldn't explode now.
This commit is contained in:
parent
8c79dfb363
commit
e2b1e8dbd8
|
@ -122,7 +122,7 @@ final class AWTUtil {
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
} catch (PrivilegedActionException e) {
|
} catch (Exception e) {
|
||||||
LWJGLUtil.log("Failed to query pointer location: " + e.getCause());
|
LWJGLUtil.log("Failed to query pointer location: " + e.getCause());
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue