Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Catch exception
Dieser Commit ist enthalten in:
Ursprung
1cdf2ed1ef
Commit
e067492cca
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren