Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2022-09-26 10:56:15 -04:00
2 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ public class Mods implements Loadable{
/** @return the loaded mod found by class, or null if not found. */
public @Nullable LoadedMod getMod(Class<? extends Mod> type){
return mods.find(m -> m.enabled() && m.main != null && m.main.getClass() == type);
return mods.find(m -> m.main != null && m.main.getClass() == type);
}
/** Imports an external mod file. Folders are not supported here. */