diff --git a/src/main/scala/io/izzel/taboolib/util/lite/Catchers.java b/src/main/scala/io/izzel/taboolib/util/lite/Catchers.java index d95120d..b6af0c4 100644 --- a/src/main/scala/io/izzel/taboolib/util/lite/Catchers.java +++ b/src/main/scala/io/izzel/taboolib/util/lite/Catchers.java @@ -59,10 +59,13 @@ public class Catchers implements Listener { public interface Catcher { - Catcher before(); + default Catcher before() { + return this; + } boolean after(String message); - void cancel(); + default void cancel() { + } } }