3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

Catch exception

Dieser Commit ist enthalten in:
creeper123123321 2018-07-20 13:23:40 -03:00
Ursprung 1cdf2ed1ef
Commit e067492cca
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1

Datei anzeigen

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