This commit is contained in:
vemacs 2016-12-09 19:11:04 -06:00
parent 6bc9f2140c
commit d73ec779e0

View File

@ -189,7 +189,7 @@ public final class InventoryWorkaround {
try {
p.getInventory().setItemInMainHand(item);
hasMainHandSupport = true;
} catch (Exception e) {
} catch (Throwable e) {
p.setItemInHand(item);
hasMainHandSupport = false;
}
@ -208,7 +208,7 @@ public final class InventoryWorkaround {
try {
invent.setItemInMainHand(item);
hasMainHandSupport = true;
} catch (Exception e) {
} catch (Throwable e) {
invent.setItemInHand(item);
hasMainHandSupport = false;
}
@ -227,7 +227,7 @@ public final class InventoryWorkaround {
try {
invent.setItemInMainHandDropChance(chance);
hasMainHandSupport = true;
} catch (Exception e) {
} catch (Throwable e) {
invent.setItemInHandDropChance(chance);
hasMainHandSupport = false;
}