Catch both Exceptions and Throwables.
This commit is contained in:
parent
b703054ccb
commit
8ec05472fd
@ -129,7 +129,7 @@ public class MUtil
|
|||||||
{
|
{
|
||||||
return Bukkit.getOnlinePlayers();
|
return Bukkit.getOnlinePlayers();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Throwable e)
|
||||||
{
|
{
|
||||||
// We probably just caught a NoSuchMethodError.
|
// We probably just caught a NoSuchMethodError.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user