doc: small readme fix

This commit is contained in:
zaaarf 2023-02-27 10:45:21 +01:00
parent cfeb940561
commit 823ce8307a
No known key found for this signature in database
GPG key ID: AD8563472FD43386

View file

@ -20,7 +20,7 @@ import ftbsc.lll.processor.annotations.*;
@Patch(value = Minecraft.class, reason = "crash the game as soon as it loads")
public class SamplePatch implements Opcodes {
@Target
public void tick() {};
public void tick() {}; //stub representing the target method, its modifiers are irrelevant
@Injector
public static void yourCustomInjector(ClassNode clazz, MethodNode main) {
InsnList insnList = new InsnList();