Helix shoot pattern / Min mod game version
This commit is contained in:
@@ -868,7 +868,7 @@ public class Mods implements Loadable{
|
||||
!skipModLoading() &&
|
||||
Core.settings.getBool("mod-" + baseName + "-enabled", true) &&
|
||||
Version.isAtLeast(meta.minGameVersion) &&
|
||||
(meta.getMinMajor() >= 105 || headless)
|
||||
(meta.getMinMajor() >= 136 || headless)
|
||||
){
|
||||
if(ios){
|
||||
throw new ModLoadException("Java class mods are not supported on iOS.");
|
||||
@@ -997,10 +997,10 @@ public class Mods implements Loadable{
|
||||
return Version.isAtLeast(meta.minGameVersion);
|
||||
}
|
||||
|
||||
/** @return whether this mod is outdated, e.g. not compatible with v6. */
|
||||
/** @return whether this mod is outdated, e.g. not compatible with v7. */
|
||||
public boolean isOutdated(){
|
||||
//must be at least 105 to indicate v6 compat
|
||||
return getMinMajor() < 105;
|
||||
//must be at least 136 to indicate v7 compat
|
||||
return getMinMajor() < 136;
|
||||
}
|
||||
|
||||
public int getMinMajor(){
|
||||
|
||||
Reference in New Issue
Block a user