mirror of
https://github.com/yushijinhun/authlib-injector.git
synced 2024-11-14 22:01:16 +01:00
Remove duplicate ldc transform log
This commit is contained in:
parent
029782551d
commit
27e775114c
1 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@ import static org.objectweb.asm.Opcodes.ASM6;
|
|||
import java.util.Optional;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import moe.yushi.authlibinjector.util.Logging;
|
||||
|
||||
public abstract class LdcTransformUnit implements TransformUnit {
|
||||
|
||||
|
@ -22,7 +21,6 @@ public abstract class LdcTransformUnit implements TransformUnit {
|
|||
Optional<String> transformed = transformLdc((String) cst);
|
||||
if (transformed.isPresent() && !transformed.get().equals(cst)) {
|
||||
modifiedCallback.run();
|
||||
Logging.TRANSFORM.fine("Transformed string [" + cst + "] to [" + transformed.get() + "]");
|
||||
super.visitLdcInsn(transformed.get());
|
||||
} else {
|
||||
super.visitLdcInsn(cst);
|
||||
|
|
Loading…
Reference in a new issue