Catch exception

This commit is contained in:
creeper123123321 2018-07-20 13:23:40 -03:00
parent 1cdf2ed1ef
commit e067492cca
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -31,8 +31,9 @@ public class MappingData {
// TODO: Remove how verbose this is
System.out.println("Loading block mapping...");
try {
Class.forName("io.netty.util.collection.IntObjectMap");
blockMappings = new BMNettyCollections();
} catch (NoClassDefFoundError e) {
} catch (ClassNotFoundException e) {
blockMappings = new BMJDKCollections();
}
blockMappings.init(mapping1_12, mapping1_13);