aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-04-17 00:14:48 +0200
committer zaaarf <zaaarf@proton.me>2023-04-17 00:14:48 +0200
commit999f0500c73b21186b9a52a98b2984649edc166b (patch)
treed990f5bc966b553b94701b7edff7e07bc0691d83 /src/main/java/ftbsc
parenta259d844a3cba99867be6415999b8c697b31adfb (diff)
fix: do not use the original class name as patch name
Diffstat (limited to 'src/main/java/ftbsc')
-rw-r--r--src/main/java/ftbsc/lll/processor/LilleroProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
index 2dc2527..32f5826 100644
--- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
+++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
@@ -348,7 +348,7 @@ public class LilleroProcessor extends AbstractProcessor {
.superclass(cl.asType())
.addSuperinterface(ClassName.get(IInjector.class))
.addMethod(constructorBuilder.build())
- .addMethod(buildStringReturnMethod("name", cl.getSimpleName().toString()))
+ .addMethod(buildStringReturnMethod("name", injName))
.addMethod(buildStringReturnMethod("reason", toGenerate.get(injName).reason))
.addMethod(buildStringReturnMethod("targetClass", obfuscateInjectorMetadata ? targetClass.fqnObf : targetClass.fqn))
.addMethod(buildStringReturnMethod("methodName", obfuscateInjectorMetadata ? target.nameObf : target.name))