Skip to content

Commit 1b90149

Browse files
committed
bump version to v0.4.3 + fix max and min mod versions
1 parent d636f7d commit 1b90149

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.2
1+
0.4.3

loader/src/load/Loader.cpp

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,21 @@ size_t Loader::getFieldIndexForClass(size_t hash) {
439439
}
440440

441441
VersionInfo Loader::minModVersion() {
442-
return { 0, 4, 0 };
442+
// patches are always backwards-compatible. if not, we have failed
443+
return VersionInfo {
444+
Loader::getVersion().getMajor(),
445+
Loader::getVersion().getMinor(),
446+
0,
447+
};
443448
}
444449

445450
VersionInfo Loader::maxModVersion() {
446-
return Loader::getVersion();
451+
// patches are always backwards-compatible. if not, we have failed
452+
return VersionInfo {
453+
Loader::getVersion().getMajor(),
454+
Loader::getVersion().getMinor(),
455+
99999999,
456+
};
447457
}
448458

449459
bool Loader::supportedModVersion(VersionInfo const& version) {

0 commit comments

Comments
 (0)