Skip to content

Commit

Permalink
inc version to 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisj42 committed Jan 31, 2020
1 parent 875c8ed commit abd7cc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/common/src/miniventure/game/util/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
public class Version implements Comparable<Version> {

// the last digit increments without release or tag
public static final Version CURRENT = makeVersion("2.2.1.7");
public static final Version CURRENT = makeVersion("2.2.1");

// the last time there was a change in the save format
private static final Version latestFormatChange = makeVersion("2.2.1.7");
private static final Version latestFormatChange = makeVersion("2.2.1");

// use this to determine the latest version a world is compatible with
private static final TreeMap<Version, Version> endOfSupportVersions = new TreeMap<>();
static {
// this is the oldest version that the current version supports
endOfSupportVersions.put(makeVersion("2.2.1.7"), CURRENT);
endOfSupportVersions.put(makeVersion("2.2.1"), CURRENT);
// below is for older versions; add an entry whenever a version loses support
// no need to add an entry if it was only supported for one version
// addEoSVersion("2.1.2", "2.1.2");
Expand Down

0 comments on commit abd7cc8

Please sign in to comment.