This repository was archived by the owner on Mar 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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.
2
2
See [ discussion] ( https://github.com/NyaaCat/nyaautils/issues/2 )
3
3
4
4
Prepare:
@@ -11,16 +11,16 @@ Prepare:
11
11
Steps:
12
12
13
13
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
16
16
17
17
2 . Apply the patch
18
18
19
- patch EventListenerDump.java < EventListenerDump.patch
19
+ patch EventListenerDump.java < EventListenerDump.patch
20
20
21
21
3 . Compile & generate the class file
22
22
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
25
25
26
26
4 . Copy the patched class back into ` InfernalMobs.jar `
You can’t perform that action at this time.
0 commit comments