mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-04-12 13:40:31 +08:00
parent
2bb44386c7
commit
84552120c1
@ -49,7 +49,7 @@ public final class MobCompat {
|
||||
MethodHandle handle = null;
|
||||
try {
|
||||
handle = MethodHandles.lookup().findVirtual(COW, "setVariant", MethodType.methodType(void.class, COW_VARIANT));
|
||||
} catch (NoSuchMethodException | IllegalAccessException ignored) {
|
||||
} catch (final Throwable ignored) {
|
||||
}
|
||||
COW_VARIANT_HANDLE = handle;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user