Commit 1f8bf59
committed
mitigation: very old forge will crash trying to load package name starting with "mod_"
Because of crummy regex
https://github.com/MinecraftForge/FML/blob/57be417b7c29bb23e152f400752f68f33115915d/common/cpw/mods/fml/common/Loader.java#L66
Old forge will incorrectly load "mod_blahblah/yourclass.class" while
expecting a "yourclass.class" because package name started with "mod_".
Fixes #2651 parent ffe4929 commit 1f8bf59
4 files changed
Lines changed: 6 additions & 5 deletions
File tree
- app_pojavlauncher/src/main/assets/components/methods_injector_agent
- methods_injector_agent/src/main/java/org/angelauramc/methodsInjectorAgent
- mods_compatibility_injector
Binary file not shown.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments