File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/connorlinfoot/titleapi Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >com.connorlinfoot</groupId >
88 <artifactId >TitleAPI</artifactId >
9- <version >1.8</version >
9+ <version >1.8.1 </version >
1010
1111 <properties >
1212 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ enum InternalAPIMapping {
1717 static InternalTitleAPI create () {
1818 MinecraftVersion version = MinecraftVersion .get ();
1919 for (InternalAPIMapping thisOne : values ()) {
20- if (thisOne . maxVersion . isLessThanOrEqualTo (version )) {
20+ if (version . isLessThanOrEqualTo (thisOne . maxVersion )) {
2121 try {
2222 return thisOne .apiClass .newInstance ();
2323 } catch (InstantiationException | IllegalAccessException e ) {
You can’t perform that action at this time.
0 commit comments