mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 20:16:02 +01:00
Catch exception
This commit is contained in:
parent
1cdf2ed1ef
commit
e067492cca
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user