mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
fix: snapshot-version is not being recognised as older version compared to its non-snapshot version
This commit is contained in:
@@ -117,6 +117,6 @@ data class Snapshot(var revision: Int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun hashCode(): Int {
|
override fun hashCode(): Int {
|
||||||
return year.shl(24) or week.shl(16) or revision
|
return year.shl(16) or week.shl(8) or revision
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user