From 0e2162ca48d479238eb2665bf95fc6be9b39ed4d Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 7 Feb 2023 13:31:43 +0100 Subject: chore: IInjector now has default reason --- src/main/java/ftbsc/lll/IInjector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/ftbsc/lll/IInjector.java b/src/main/java/ftbsc/lll/IInjector.java index df4ae3a..d223536 100644 --- a/src/main/java/ftbsc/lll/IInjector.java +++ b/src/main/java/ftbsc/lll/IInjector.java @@ -19,7 +19,7 @@ public interface IInjector { /** * @return reason for this patch, for logging */ - default String reason() { return ""; } + default String reason() { return "No reason specified"; } /** * This is used by the Launch Plugin to identify which classes should be @@ -47,7 +47,7 @@ public interface IInjector { * (IF)V - returns void, takes in int and float * (Ljava/lang/Object;)I - returns int, takes in a java.lang.Object * (ILjava/lang/String;)[I - returns int[], takes in an int and a String - * See https://asm.ow2.io/asm4-guide.pdf for a more detailed explanation. + * See https://asm.ow2.io/asm4-guide.pdf for a more detailed explanation. * @return descriptor of method to target. */ String methodDesc(); -- cgit v1.2.3-56-ga3b1