Catch both Exceptions and Throwables.

This commit is contained in:
Olof Larsson committed 2014-12-04 19:10:36 +01:00
1 parent b703054ccb
commit 8ec05472fd
1 file changed
+1 -1
@@ -129,7 +129,7 @@ public class MUtil
{
return Bukkit.getOnlinePlayers();
}
catch (Exception e)
catch (Throwable e)
{
// We probably just caught a NoSuchMethodError.
}