Skip to content

Commit 846a792

Browse files
authored
Upstream
2 parents fe39bda + 8455212 commit 846a792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Essentials/src/main/java/com/earth2me/essentials/MobCompat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public final class MobCompat {
4949
MethodHandle handle = null;
5050
try {
5151
handle = MethodHandles.lookup().findVirtual(COW, "setVariant", MethodType.methodType(void.class, COW_VARIANT));
52-
} catch (NoSuchMethodException | IllegalAccessException ignored) {
52+
} catch (final Throwable ignored) {
5353
}
5454
COW_VARIANT_HANDLE = handle;
5555
}

0 commit comments

Comments
 (0)