mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 16:44:50 +01:00
doc: small readme fix
This commit is contained in:
parent
cfeb940561
commit
823ce8307a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import ftbsc.lll.processor.annotations.*;
|
||||||
@Patch(value = Minecraft.class, reason = "crash the game as soon as it loads")
|
@Patch(value = Minecraft.class, reason = "crash the game as soon as it loads")
|
||||||
public class SamplePatch implements Opcodes {
|
public class SamplePatch implements Opcodes {
|
||||||
@Target
|
@Target
|
||||||
public void tick() {};
|
public void tick() {}; //stub representing the target method, its modifiers are irrelevant
|
||||||
@Injector
|
@Injector
|
||||||
public static void yourCustomInjector(ClassNode clazz, MethodNode main) {
|
public static void yourCustomInjector(ClassNode clazz, MethodNode main) {
|
||||||
InsnList insnList = new InsnList();
|
InsnList insnList = new InsnList();
|
||||||
|
|
Loading…
Reference in a new issue