Catch Throwable instead of Exception when setting up BukkitJsonMessageHandler

This commit is contained in:
Luck 2017-09-04 13:03:09 +01:00
parent fbe9d9f128
commit e1b51dd6af
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -91,7 +91,7 @@ public class BukkitJsonMessageHandler {
setup(player); setup(player);
setup = true; setup = true;
return true; return true;
} catch (Exception e) { } catch (Throwable e) {
triedAndFailed = true; triedAndFailed = true;
return false; return false;
} }