mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-28 13:52:07 -04:00
bump version to v0.4.3 + fix max and min mod versions
This commit is contained in:
parent
d636f7d536
commit
1b90149227
2 changed files with 13 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.4.2
|
||||
0.4.3
|
|
@ -439,11 +439,21 @@ size_t Loader::getFieldIndexForClass(size_t hash) {
|
|||
}
|
||||
|
||||
VersionInfo Loader::minModVersion() {
|
||||
return { 0, 4, 0 };
|
||||
// patches are always backwards-compatible. if not, we have failed
|
||||
return VersionInfo {
|
||||
Loader::getVersion().getMajor(),
|
||||
Loader::getVersion().getMinor(),
|
||||
0,
|
||||
};
|
||||
}
|
||||
|
||||
VersionInfo Loader::maxModVersion() {
|
||||
return Loader::getVersion();
|
||||
// patches are always backwards-compatible. if not, we have failed
|
||||
return VersionInfo {
|
||||
Loader::getVersion().getMajor(),
|
||||
Loader::getVersion().getMinor(),
|
||||
99999999,
|
||||
};
|
||||
}
|
||||
|
||||
bool Loader::supportedModVersion(VersionInfo const& version) {
|
||||
|
|
Loading…
Add table
Reference in a new issue