Catch both Exceptions and Throwables.

This commit is contained in:
Olof Larsson 2014-12-04 19:10:36 +01:00
parent b703054ccb
commit 8ec05472fd

View File

@ -129,7 +129,7 @@ public class MUtil
{
return Bukkit.getOnlinePlayers();
}
catch (Exception e)
catch (Throwable e)
{
// We probably just caught a NoSuchMethodError.
}