fix crash

This commit is contained in:
Babbaj 2019-07-23 02:56:24 -04:00
parent 821e73c1d3
commit 7000b6cda2
No known key found for this signature in database
GPG Key ID: 48FD0BEFD63C8E3F

View File

@ -32,7 +32,7 @@ public enum SchematicaHelper {
try { try {
Class.forName(Schematica.class.getName()); Class.forName(Schematica.class.getName());
return true; return true;
} catch (ClassNotFoundException ex) { } catch (ClassNotFoundException | NoClassDefFoundError ex) {
return false; return false;
} }
} }