Commit Graph

2 Commits

Author SHA1 Message Date
F0Xde
0657c91f0f Allow catching of exceptions in chained runnables
The user can handle exceptions of a specified type occurring in a chained
runnable by calling `executeCatching` and optionally passing a handler
function.

This is needed needed in order to gracefully stop the execution of a
runnable chain without the exception being caught by Bukkit and
resulting in it being logged as uncaught, while also allowing further
handling of the exception.
2020-10-17 14:02:13 +02:00
bluefireoly
03a1f8a502 Initial commit 2020-06-26 04:10:39 +02:00