Skip to content

Commit

Permalink
Add 1.11.1 / 1.11.2 enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Sataniel98 committed Dec 23, 2016
1 parent 1d08871 commit 13c3686
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
*/
public enum Version {

MC1_11_2(true, v1_11_R1),
MC1_11_1(true, v1_11_R1),
MC1_11(true, v1_11_R1),
MC1_10_2(true, v1_10_R1),
MC1_10_1(true, Internals.UNKNOWN),
Expand Down Expand Up @@ -207,6 +209,10 @@ public static Set<Version> andHigher(Version version) {
andHigher.add(Version.MC1_10_2);
case MC1_11:
andHigher.add(Version.MC1_11);
case MC1_11_1:
andHigher.add(Version.MC1_11_1);
case MC1_11_2:
andHigher.add(Version.MC1_11_2);
default:
andHigher.add(UNKNOWN);
}
Expand Down

0 comments on commit 13c3686

Please sign in to comment.