Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit d5da154

Browse files
authored
Update readme.md
1 parent 6c855b4 commit d5da154

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

patch-InfernalMob/readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This patch is used to integrate [InfernalMobs](https://www.spigotmc.org/resources/infernal-mobs.2156/) with the loot protect feature in NyaaUtils.
1+
This patch is used to integrate [InfernalMobs](https://www.spigotmc.org/resources/infernal-mobs.2156/) with the loot protect feature in NyaaUtils.
22
See [discussion](https://github.com/NyaaCat/nyaautils/issues/2)
33

44
Prepare:
@@ -11,16 +11,16 @@ Prepare:
1111
Steps:
1212

1313
1. Generate the bytecode:
14-
15-
java -classpath "InfernalMobs.jar:asm-util.jar:asm.jar" org.objectweb.asm.util.ASMifier io.hotmail.com.jacob_vejvoda.infernal_mobs.EventListener > EventListenerDump.java
14+
15+
java -classpath "InfernalMobs.jar:asm-util.jar:asm.jar" org.objectweb.asm.util.ASMifier io.hotmail.com.jacob_vejvoda.infernal_mobs.EventListener > EventListenerDump.java
1616

1717
2. Apply the patch
1818

19-
patch EventListenerDump.java < EventListenerDump.patch
19+
patch EventListenerDump.java < EventListenerDump.patch
2020

2121
3. Compile & generate the class file
2222

23-
javac -cp asm.jar EventListenerDump.java
24-
java -cp asm.jar:. EventListenerDump > EventListener.class
23+
javac -cp asm.jar EventListenerDump.java
24+
java -cp asm.jar:. EventListenerDump > EventListener.class
2525

2626
4. Copy the patched class back into `InfernalMobs.jar`

0 commit comments

Comments
 (0)