mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-25 00:44:48 +01:00
doc: minor fixes in readme
This commit is contained in:
parent
ae8b3ca2ce
commit
f053099073
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Lillero
|
# Lillero
|
||||||
|
|
||||||
Lillero is a lightweight and simple ASM patching framework built on top of [ObjectWeb's ASM library](https://asm.ow2.io/).
|
Lillero is a lightweight and simple Java ASM patching framework built on top of [ObjectWeb's ASM library](https://asm.ow2.io/).
|
||||||
|
|
||||||
## How
|
## How
|
||||||
This library provides the core interface, `IInjector`, as well as a small set of utils to make your life easier. All patches should implement `IInjector` and be declared as [services](https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html).
|
This library provides the core interface, `IInjector`, as well as a small set of utils to make your life easier. All patches should implement `IInjector` and be declared as [services](https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html).
|
||||||
|
@ -55,7 +55,7 @@ The following is an example patch, located at `src/main/java/example/patches/Sam
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
When loaded into Minecraf, this patch will crash the game with a NegativeArraySizeException as soon as it's done loading - so you know it's working.
|
When loaded into Minecraft, this patch will crash the game with a NegativeArraySizeException as soon as it's done loading - so you know it's working.
|
||||||
|
|
||||||
The following is the service registration file, located at `src/main/resources/META-INF/services/ftbsc.lll.IInjector`:
|
The following is the service registration file, located at `src/main/resources/META-INF/services/ftbsc.lll.IInjector`:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue