From 9ae678e9ef6a5632ba1ea7f9caa78cadcad573a8 Mon Sep 17 00:00:00 2001 From: Nilsen84 <56961087+Nilsen84@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:44:09 +0200 Subject: [PATCH] Fix NoHitDelay --- agent/src/main/kotlin/io/github/nilsen84/lcqt/Transformer.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/agent/src/main/kotlin/io/github/nilsen84/lcqt/Transformer.kt b/agent/src/main/kotlin/io/github/nilsen84/lcqt/Transformer.kt index 807496e..e70e073 100644 --- a/agent/src/main/kotlin/io/github/nilsen84/lcqt/Transformer.kt +++ b/agent/src/main/kotlin/io/github/nilsen84/lcqt/Transformer.kt @@ -15,8 +15,6 @@ class Transformer(private val patches: List): ClassFileTransformer { protectionDomain: ProtectionDomain?, classfileBuffer: ByteArray ): ByteArray? = runCatching { - if(!className.startsWith("com/moonsworth/lunar/")) return null - val cn = ClassNode() val cr = ClassReader(classfileBuffer) cr.accept(cn, 0)