From 8ec05472fd64507510a33ebecac453dd065ca436 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Thu, 4 Dec 2014 19:10:36 +0100 Subject: [PATCH] Catch both Exceptions and Throwables. --- src/main/java/com/massivecraft/massivecore/util/MUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/massivecore/util/MUtil.java b/src/main/java/com/massivecraft/massivecore/util/MUtil.java index 66f72a48..1f88590a 100644 --- a/src/main/java/com/massivecraft/massivecore/util/MUtil.java +++ b/src/main/java/com/massivecraft/massivecore/util/MUtil.java @@ -129,7 +129,7 @@ public class MUtil { return Bukkit.getOnlinePlayers(); } - catch (Exception e) + catch (Throwable e) { // We probably just caught a NoSuchMethodError. }