Skip to content

Commit

Permalink
Also filter out FML
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed May 3, 2024
1 parent 6d5ed23 commit 1245a8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private static Class<?>[] getCallingStack() {

private static ModContainer findModContainer() {
for(Class<?> clz : getCallingStack()) {
if(clz.getName().startsWith("net.minecraft") || clz.getName().startsWith("org.embeddedt.archaicfix")) {
if(clz.getName().startsWith("net.minecraft") || clz.getName().startsWith("org.embeddedt.archaicfix") || clz.getName().startsWith("cpw.mods.fml")) {
continue;
}
int idx = clz.getName().lastIndexOf('.');
Expand Down

0 comments on commit 1245a8b

Please sign in to comment.